lkml.org 
[lkml]   [2000]   [Feb]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [RFC] 2.3.39 zone balancing
Date
> 
> In this patch against 2.3.42 I fixed a cupole of bugs in the new memory
> balancing code that is been merged in the latest 2.3.x kernels:
>
> ftp://ftp.*.kernel.org/pub/linux/kernel/people/andrea/patches/v2.3/2.3.42/MM-balance-1.gz
>
> Comments are welcome.
>
> Andrea
>

I like the part of being able to poke kswapd via an interface
(wake_up_interruptible), this is something that might help numa
allocators ....

I hate the part of adding in more magic numbers to the balancing
logic, unless you can demonstrate how it helps. I know, 2.2
uses these magic numbers to set freepages.*, but I can't see a
logic to having min/max for zones. It is still probably acceptable
to have the magic numbers in 2.3 for freepages.* setting (at
least until we have a zone aware kswapd), for global stuff. If
you do decide to put in the min/max stuff, make sure to add
in the smarts to specify it from the command line (in
setup_mem_frac).

The ZONE_BALANCED macro is currently a good way to see whether
we really want to do more compute intensive classfree().

Kanoj


-
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:56    [W:0.102 / U:1.580 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site