lkml.org 
[lkml]   [2000]   [Jul]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [OT] Re: [Announce] BKL shifting into drivers and filesystems- beware
Andrea Arcangeli wrote:
>
> Regardless of the irrelevant BUG example, I sure got Arjan's point about
> the common paths vs number of allocations in the kernel and I sure
> considered that also in my original email as far I can tell (in the line
> below the ~1000 number). I guess I wasn't clear but now I repeated more
> clearly my point, I'd appreciate any further comment about that. Thanks!
>

Hmm. AFAICS

* we must balance the GFP_DMA zone, otherwise an unexpected
GFP_ATOMIC|GFP_DMA allocation will fail.
* linked list walking is evil.

What about moving page_lru into the zone structure?

shrink_mmap gets a zone_t pointer as a new parameter, and
do_try_to_free_pages calls shrink_mmap for each zone that is low on free
memory.


--
Manfred

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.028 / U:0.436 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site