Re: [LIP] kernel generating SIGBUS while handling pagefault

vamsi krishna <[email protected]>
Newsgroups gmane.user-groups.linux.india.programmers
Message-ID <[email protected]>
Hello Arun,

Thanks for your reply. The following are the meminfo details

<------meminfo of machine using 5GB RAM and on which SIGBUS
occurs------------------>
        total:    used:    free:  shared: buffers:  cached:
Mem:  5042049024 1733447680 3308601344        0 49741824 1476390912
Swap: 34356985856 16637952 34340347904
MemTotal:      4923876 kB
MemFree:       3231056 kB
MemShared:           0 kB
Buffers:         48576 kB
Cached:        1434048 kB
SwapCached:       7740 kB
Active:         581040 kB
ActiveAnon:      66760 kB
ActiveCache:    514280 kB
Inact_dirty:    704220 kB
Inact_laundry:  156312 kB
Inact_clean:    115244 kB
Inact_target:   311360 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:      4923876 kB
LowFree:       3231056 kB
SwapTotal:    33551744 kB
SwapFree:     33535496 kB
HugePages_Total:     0
HugePages_Free:      0
Hugepagesize:     2048 kB
<-------------------------------------------------------------------------------------------------------->

<---------machine on which SIGBUS dont occur 8GB RAM and 16 GB
SWAP---------------------------------------->
        total:    used:    free:  shared: buffers:  cached:
Mem:  8229769216 1131577344 7098191872        0 40124416 834015232
Swap: 17174102016        0 17174102016
MemTotal:      8036884 kB
MemFree:       6931828 kB
MemShared:           0 kB
Buffers:         39184 kB
Cached:         814468 kB
SwapCached:          0 kB
Active:         266048 kB
ActiveAnon:      98668 kB
ActiveCache:    167380 kB
Inact_dirty:    716388 kB
Inact_laundry:       0 kB
Inact_clean:         0 kB
Inact_target:   196484 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:      8036884 kB
LowFree:       6931828 kB
SwapTotal:    16771584 kB
SwapFree:     16771584 kB
HugePages_Total:     0
HugePages_Free:      0
Hugepagesize:     2048 kB
<---------------------------------------------------------------------->

SIGBUS is being propagated to the userland as kernel unable to handle
it (I think the kernel code is not retrying as this may lead to
deadlock), so can I ignore SIGBUS and retry doing this (accessing the
page) ?

Looking forward to hear from you.

Best,
Vamsi


On 6/2/05, Arun Sharma <[email protected]> wrote:
> On Wed, Jun 01, 2005 at 03:08:11PM +0530, vamsi krishna wrote:
> > I see some system calls failing with 'Cannot allocate memory', is this
> > because that I use only 5GB of RAM for a 64-bit machine?
> >
> > Can some one kindly give some inputs in this?
> 
> You didn't post the most important data:
> 
> /proc/meminfo
> 
>         -Arun
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by Yahoo.
> Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
> Search APIs Find out how you can build Yahoo! directly into your own
> Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
> _______________________________________________
> linux-india-programmers mailing list
> linux-india-programmers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/linux-india-programmers
>


-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.