public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* RE: sparc64 pgalloc.h pgd_quicklist question
@ 2002-06-07  2:10 Holzrichter, Bruce
  2002-06-07  8:18 ` Russell King
  0 siblings, 1 reply; 5+ messages in thread
From: Holzrichter, Bruce @ 2002-06-07  2:10 UTC (permalink / raw)
  To: 'Russell King', 'davem@redhat.com'; +Cc: linux-kernel


 
> On Fri, May 24, 2002 at 09:05:26AM -0700, David S. Miller wrote:
> >    From: "Holzrichter, Bruce" <bruce.holzrichter@monster.com>
> >    Date: Fri, 24 May 2002 11:12:25 -0500
> >    
> >    Anyway, After looking at the SMP and UP configuration in 
> pgalloc.h, could
> >    you simply remove the UP/SMP differentiation in the 
> routines, as in my
> >    attachment?  It looks to me, that the struct for 
> pgt_quicklist is built
> >    correctly for UP or SMP above this?  I could be wrong on this....
> > 
> > That would waste 3/4 of every page allocated for PGDs.
> > 
> > We use the pointers to keep track of which bits of the page
> > are allocated to PGDs.  So how about rewriting our code to
> > use bits in page->flags instead?
> 
> See arch/arm/mm/small_page.c (2.4) or 
> arch/arm/mach-arc/small_page.c for
> a sub-page allocator using page->flags.
> 

Russell, 

I meant to ask this a little bit back, while I was looking through this
code.  In the 2.5 iteration you have for small_page.c your using the
next_hash and pprev_hash entries, which no longer are available in the
struct page, as far as I have looked, unless your struct page is defined
elsewhere, other than linux/mm.h?  Just wondering, as I pull apart the mm
code in what time I have looking at this.

Thanks
Bruce H.



^ permalink raw reply	[flat|nested] 5+ messages in thread
[parent not found: <61DB42B180EAB34E9D28346C11535A783A775C@nocmail101.ma.tmpw.net>]

end of thread, other threads:[~2002-06-09 22:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-07  2:10 sparc64 pgalloc.h pgd_quicklist question Holzrichter, Bruce
2002-06-07  8:18 ` Russell King
2002-06-09 22:36   ` Russell King
     [not found] <61DB42B180EAB34E9D28346C11535A783A775C@nocmail101.ma.tmpw.net>
2002-05-24 16:05 ` David S. Miller
2002-05-24 16:28   ` Russell King

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