linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* Re: get_free pages!!
@ 2001-08-29 17:22 Badari Pulavarty
  0 siblings, 0 replies; 5+ messages in thread
From: Badari Pulavarty @ 2001-08-29 17:22 UTC (permalink / raw)
  To: Jalajadevi Ganapathy
  Cc: Andrew Kay, linux-mm, Marcelo Tosatti, owner-linux-mm, Daniel Phillips

Just to let you know, order greater than 5 DOES NOT mean more than 5 pages.

value "order" means 2^order pages.

Thanks,
Badari



                                                                                                         
                    "Jalajadevi                                                                          
                    Ganapathy"           To:     Andrew Kay <Andrew.J.Kay@syntegra.com>                  
                    <JGanapathy@st       cc:     Daniel Phillips <phillips@bonn-fries.net>, Marcelo      
                    orage.com>            Tosatti <marcelo@conectiva.com.br>, linux-mm@kvack.org         
                    Sent by:             Subject:     get_free pages!!                                   
                    owner-linux-mm                                                                       
                    @kvack.org                                                                           
                                                                                                         
                                                                                                         
                    08/29/01 09:44                                                                       
                    AM                                                                                   
                                                                                                         
                                                                                                         




How can i get memory pagest greater than order 5.
If I pass, the value greater than 5 as order, my get_free_pages fails.
How can i get more than 5 pages!!

Thanks
Jalaja






--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: get_free pages!!
  2001-08-29 17:46 Jalajadevi Ganapathy
@ 2001-08-29 18:02 ` Daniel Phillips
  0 siblings, 0 replies; 5+ messages in thread
From: Daniel Phillips @ 2001-08-29 18:02 UTC (permalink / raw)
  To: Jalajadevi Ganapathy, Badari Pulavarty
  Cc: Andrew Kay, linux-mm, Marcelo Tosatti, owner-linux-mm

On August 29, 2001 07:46 pm, Jalajadevi Ganapathy wrote:
> Sorry for my hurried question.
> Actually I want to allocate more than MAX_ORDER

Then you want to define MAX_ORDER higher, or you want to use vmalloc.

--
Daniel
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: get_free pages!!
@ 2001-08-29 17:46 Jalajadevi Ganapathy
  2001-08-29 18:02 ` Daniel Phillips
  0 siblings, 1 reply; 5+ messages in thread
From: Jalajadevi Ganapathy @ 2001-08-29 17:46 UTC (permalink / raw)
  To: Badari Pulavarty
  Cc: Jalajadevi Ganapathy, Andrew Kay, linux-mm, Marcelo Tosatti,
	owner-linux-mm, Daniel Phillips


Sorry for my hurried question.
Actually I want to allocate more than MAX_ORDER




"Badari Pulavarty" <badari@us.ibm.com>@kvack.org on 08/29/2001 01:22:23 PM

Sent by:  owner-linux-mm@kvack.org


To:   "Jalajadevi Ganapathy" <JGanapathy@storage.com>
cc:   Andrew Kay <Andrew.J.Kay@syntegra.com>, linux-mm@kvack.org, Marcelo
      Tosatti <marcelo@conectiva.com.br>, owner-linux-mm@kvack.org, Daniel
      Phillips <phillips@bonn-fries.net>

Subject:  Re: get_free pages!!

Just to let you know, order greater than 5 DOES NOT mean more than 5 pages.

value "order" means 2^order pages.

Thanks,
Badari




                    "Jalajadevi

                    Ganapathy"           To:     Andrew Kay
<Andrew.J.Kay@syntegra.com>
                    <JGanapathy@st       cc:     Daniel Phillips
<phillips@bonn-fries.net>, Marcelo
                    orage.com>            Tosatti
<marcelo@conectiva.com.br>, linux-mm@kvack.org
                    Sent by:             Subject:     get_free pages!!

                    owner-linux-mm

                    @kvack.org



                    08/29/01 09:44

                    AM







How can i get memory pagest greater than order 5.
If I pass, the value greater than 5 as order, my get_free_pages fails.
How can i get more than 5 pages!!

Thanks
Jalaja






--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/




--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: get_free pages!!
  2001-08-29 16:44 Jalajadevi Ganapathy
@ 2001-08-29 17:15 ` Daniel Phillips
  0 siblings, 0 replies; 5+ messages in thread
From: Daniel Phillips @ 2001-08-29 17:15 UTC (permalink / raw)
  To: Jalajadevi Ganapathy, Andrew Kay; +Cc: Marcelo Tosatti, linux-mm

On August 29, 2001 06:44 pm, Jalajadevi Ganapathy wrote:
> How can i get memory pagest greater than order 5.
> If I pass, the value greater than 5 as order, my get_free_pages fails.
> How can i get more than 5 pages!!

You need to supply more information about what your system is doing, how it's 
configured, etc., and please apply the patch from earlier in this thread to 
get better failure messages in your sys messages log.

--
Daniel
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* get_free pages!!
@ 2001-08-29 16:44 Jalajadevi Ganapathy
  2001-08-29 17:15 ` Daniel Phillips
  0 siblings, 1 reply; 5+ messages in thread
From: Jalajadevi Ganapathy @ 2001-08-29 16:44 UTC (permalink / raw)
  To: Andrew Kay; +Cc: Daniel Phillips, Marcelo Tosatti, linux-mm


How can i get memory pagest greater than order 5.
If I pass, the value greater than 5 as order, my get_free_pages fails.
How can i get more than 5 pages!!

Thanks
Jalaja






Andrew Kay <Andrew.J.Kay@syntegra.com>@kvack.org on 08/29/2001 12:14:29 PM

Sent by:  owner-linux-mm@kvack.org


To:   Daniel Phillips <phillips@bonn-fries.net>
cc:   Marcelo Tosatti <marcelo@conectiva.com.br>, linux-mm@kvack.org

Subject:  Re: kernel: __alloc_pages: 1-order allocation failed

> OK, it's not a bounce buffer because the allocation isn't __GFP_WAIT
(0x10).
> It's GFP_ATOMIC and there are several hundred of those throughout the
kernel so
> I'm not going to try to guess which one.  Could you please pass a few of
your
> backtraces through ksymoops make them meaningful?
> Daniel

I'm not sure I did this right, but here is my attempt.  I ran a
'ksymoops' and gave it a couple of the errors.  The parts that look
somewhat recognizable are the sk98lin, which is a Syskonnect gig over
copper card.  It is the only module I have running on the system.

Andy


ksymoops 2.4.0 on i686 2.4.9.  Options used
      -V (default)
      -k /proc/ksyms (default)
      -l /proc/modules (default)
      -o /lib/modules/2.4.9/ (default)
      -m /boot/System.map-2.4.9 (default)

Warning: You did not tell me where to find symbol information.  I will
assume that the log matches the kernel and modules that are running
right now and I'll use the default options above for symbol resolution.
If the current kernel and/or modules do not match the log, you can get
more accurate output by telling me the kernel version and where to find
map, modules, ksyms etc.  ksymoops -h explains the options.

Error (regular_file): read_system_map stat /boot/System.map-2.4.9 failed
Warning (compare_maps): mismatch on symbol SkInodeOps  , sk98lin says
f88e0500, /lib/modules/2.4.9/kernel/drivers/net/sk98lin/sk98lin.o says
f88df9c0.  Ignoring
/lib/modules/2.4.9/kernel/drivers/net/sk98lin/sk98lin.o entry
Aug 29 02:24:49 dell63 kernel: Call Trace: [<c012db70>] [<c012de1e>]
[<c012a69e>] [<c012aa21>] [<c0211032>]
Aug 29 02:24:49 dell63 kernel:    [<c02392da>] [<c023669f>] [<c02399a1>]
[<c01b000f>] [<f88c30fa>] [<c01b000f>]
Aug 29 02:24:49 dell63 kernel:    [<c021a714>] [<c02158e6>] [<c022173d>]
[<c0221638>] [<c0221b5d>] [<c0112437>]
Aug 29 02:24:49 dell63 kernel:    [<c0221638>] [<c023099a>] [<c0112437>]
[<c0211f53>] [<c0211f68>] [<c02120b9>]
Aug 29 02:24:49 dell63 kernel:    [<c023698e>] [<c0236c65>] [<c023711d>]
[<c021f07f>] [<c021f40a>] [<c0215fae>]
Aug 29 02:24:49 dell63 kernel:    [<c0119533>] [<c0108785>] [<c0105230>]
[<c0105230>] [<c0106e34>] [<c0105230>]
Aug 29 02:24:49 dell63 kernel:    [<c0105230>] [<c010525c>] [<c01052c2>]
[<c0105000>] [<c010505f>]
Aug 29 02:24:49 dell63 kernel: Call Trace: [<c012db70>] [<c012de1e>]
[<c012a69e>] [<c012aa21>] [<c0211032>]
Aug 29 02:24:49 dell63 kernel:    [<c02392da>] [<c023669f>] [<c02399a1>]
[<c01b000f>] [<c021a714>] [<c02158e6>]
Aug 29 02:24:49 dell63 kernel:    [<c022173d>] [<c0221638>] [<c0221b5d>]
[<c0221638>] [<c023099a>] [<c02314f1>]
Aug 29 02:24:49 dell63 kernel:    [<c022ea31>] [<c022e9dc>] [<c023698e>]
[<c0236c65>] [<c023711d>] [<c021f07f>]
Aug 29 02:24:49 dell63 kernel:    [<c021f40a>] [<c0215fae>] [<c0119533>]
[<c0108785>] [<c0105230>] [<c0105230>]
Aug 29 02:24:49 dell63 kernel:    [<c0106e34>] [<c0105230>] [<c0105230>]
[<c010525c>] [<c01052c2>] [<c01ffaf7>]
Aug 29 02:24:49 dell63 kernel:    [<c019266e>]
Warning (Oops_read): Code line not seen, dumping what data is available

Trace; c012db70 <_alloc_pages+18/1c>
Trace; c012de1e <__get_free_pages+a/18>
Trace; c012a69e <kmem_cache_destroy+1fe/4d8>
Trace; c012aa21 <kmem_cache_alloc+a9/bc>
Trace; c0211032 <sk_alloc+12/5c>
Trace; c02392da <ip_cmsg_recv+165b6/19944>
Trace; c023669f <ip_cmsg_recv+1397b/19944>
Trace; c02399a1 <ip_cmsg_recv+16c7d/19944>
Trace; c01b000f <loop_unregister_transfer+82a7/c9d4>
Trace; f88c30fa <[sk98lin]SkGeIsrOnePort+12e/144>
Trace; c01b000f <loop_unregister_transfer+82a7/c9d4>
Trace; c021a714 <qdisc_restart+14/250>
Trace; c02158e6 <dev_queue_xmit+136/374>
Trace; c022173d <ip_options_undo+981/1734>
Trace; c0221638 <ip_options_undo+87c/1734>
Trace; c0221b5d <ip_options_undo+da1/1734>
Trace; c0112437 <iounmap+2f7/360>
Trace; c0221638 <ip_options_undo+87c/1734>
Trace; c023099a <ip_cmsg_recv+dc76/19944>
Trace; c0112437 <iounmap+2f7/360>
Trace; c0211f53 <alloc_skb+293/304>
Trace; c0211f68 <alloc_skb+2a8/304>
Trace; c02120b9 <__kfree_skb+f5/fc>
Trace; c023698e <ip_cmsg_recv+13c6a/19944>
Trace; c0236c65 <ip_cmsg_recv+13f41/19944>
Trace; c023711d <ip_cmsg_recv+143f9/19944>
Trace; c021f07f <inet_del_protocol+35b/3d4>
Trace; c021f40a <ip_rcv+312/df4>
Trace; c0215fae <net_call_rx_atomic+1d6/2d4>
Trace; c0119533 <do_softirq+83/e0>
Trace; c0108785 <enable_irq+189/198>
Trace; c0105230 <enable_hlt+8/178>
Trace; c0105230 <enable_hlt+8/178>
Trace; c0106e34 <__read_lock_failed+1174/2630>
Trace; c0105230 <enable_hlt+8/178>
Trace; c0105230 <enable_hlt+8/178>
Trace; c010525c <enable_hlt+34/178>
Trace; c01052c2 <enable_hlt+9a/178>
Trace; c0105000 <gdt+4d94/4fb4>
Trace; c010505f <gdt+4df3/4fb4>
Trace; c012db70 <_alloc_pages+18/1c>
Trace; c012de1e <__get_free_pages+a/18>
Trace; c012a69e <kmem_cache_destroy+1fe/4d8>
Trace; c012aa21 <kmem_cache_alloc+a9/bc>
Trace; c0211032 <sk_alloc+12/5c>
Trace; c02392da <ip_cmsg_recv+165b6/19944>
Trace; c023669f <ip_cmsg_recv+1397b/19944>
Trace; c02399a1 <ip_cmsg_recv+16c7d/19944>
Trace; c01b000f <loop_unregister_transfer+82a7/c9d4>
Trace; c021a714 <qdisc_restart+14/250>
Trace; c02158e6 <dev_queue_xmit+136/374>
Trace; c022173d <ip_options_undo+981/1734>
Trace; c0221638 <ip_options_undo+87c/1734>
Trace; c0221b5d <ip_options_undo+da1/1734>
Trace; c0221638 <ip_options_undo+87c/1734>
Trace; c023099a <ip_cmsg_recv+dc76/19944>
Trace; c02314f1 <ip_cmsg_recv+e7cd/19944>
Trace; c022ea31 <ip_cmsg_recv+bd0d/19944>
Trace; c022e9dc <ip_cmsg_recv+bcb8/19944>
Trace; c023698e <ip_cmsg_recv+13c6a/19944>
Trace; c0236c65 <ip_cmsg_recv+13f41/19944>
Trace; c023711d <ip_cmsg_recv+143f9/19944>
Trace; c021f07f <inet_del_protocol+35b/3d4>
Trace; c021f40a <ip_rcv+312/df4>
Trace; c0215fae <net_call_rx_atomic+1d6/2d4>
Trace; c0119533 <do_softirq+83/e0>
Trace; c0108785 <enable_irq+189/198>
Trace; c0105230 <enable_hlt+8/178>
Trace; c0105230 <enable_hlt+8/178>
Trace; c0106e34 <__read_lock_failed+1174/2630>
Trace; c0105230 <enable_hlt+8/178>
Trace; c0105230 <enable_hlt+8/178>
Trace; c010525c <enable_hlt+34/178>
Trace; c01052c2 <enable_hlt+9a/178>
Trace; c01ffaf7 <isapnp_resource_change+24c3/353c>
Trace; c019266e <secure_tcp_sequence_number+4746/4b38>

3 warnings and 1 error issued.  Results may not be reliable.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/




--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-08-29 18:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-29 17:22 get_free pages!! Badari Pulavarty
  -- strict thread matches above, loose matches on Subject: below --
2001-08-29 17:46 Jalajadevi Ganapathy
2001-08-29 18:02 ` Daniel Phillips
2001-08-29 16:44 Jalajadevi Ganapathy
2001-08-29 17:15 ` Daniel Phillips

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox