On Thu, 19 Jan 2006, Andrew Morton wrote: > > @@ -1512,7 +1512,7 @@ loop_again: > > total_scanned = 0; > > total_reclaimed = 0; > > sc.gfp_mask = GFP_KERNEL; > > - sc.may_writepage = 0; > > + sc.may_writepage = 1; > > sc.may_swap = 1; > > sc.nr_mapped = read_page_state(nr_mapped); > > The balance_pgdat() change is wrong, surely? We want !laptop_mode. I did not see any special processing there like in the other place. But you could be right. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- References:
- [PATCH] shrink_list: Use of && instead || leads to unintended writing of pages
- From: Christoph Lameter <[email protected]>
- Re: [PATCH] shrink_list: Use of && instead || leads to unintended writing of pages
- From: Andrew Morton <[email protected]>
- Re: [PATCH] shrink_list: Use of && instead || leads to unintended writing of pages
- From: Christoph Lameter <[email protected]>
- Re: [PATCH] shrink_list: Use of && instead || leads to unintended writing of pages
- From: Andrew Morton <[email protected]>
- Re: [PATCH] shrink_list: Use of && instead || leads to unintended writing of pages
- From: Christoph Lameter <[email protected]>
- Re: [PATCH] shrink_list: Use of && instead || leads to unintended writing of pages
- From: Andrew Morton <[email protected]>
- [PATCH] shrink_list: Use of && instead || leads to unintended writing of pages
- Prev by Date: Re: [2.6 patch] drivers/sn/ must be entered for CONFIG_SGI_IOC3
- Next by Date: [PATCH 5/7] [hrtimers] Cleanups and simplifications
- Previous by thread: Re: [PATCH] shrink_list: Use of && instead || leads to unintended writing of pages
- Next by thread: [PATCH] SN2 user-MMIO CPU migration
- Index(es):