lkml.org 
[lkml]   [2008]   [Jun]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH -mm 02/25] Use an indexed array for LRU variables
>> > > @@ -1,40 +1,51 @@
>> > > static inline void
>> > > +add_page_to_lru_list(struct zone *zone, struct page *page, enum lru_list l)
>> > > +{
>> > > + list_add(&page->lru, &zone->list[l]);
>> > > + __inc_zone_state(zone, NR_INACTIVE + l);
>> >
>> > ^ that's a bug, isn't it?
>>
>> this is definitely bug.
>
> I believe this is correct, actually. I will rename/alias it to
> VMSCAN_BASE or something along those lines.

Ah, sorry. you are right.


\
 
 \ /
  Last update: 2008-06-08 13:25    [W:0.141 / U:0.560 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site