Re: fix unuse_pmd() OOM handling

From: Hugh Dickins (hugh@veritas.com)
Date: Tue Mar 25 2003 - 13:30:39 EST


On Tue, 25 Mar 2003, William Lee Irwin III wrote:
> On Tue, 25 Mar 2003, William Lee Irwin III wrote:
> >> Fix unuse_pmd() OOM handling for pte_chain_alloc() failures.
> >> Unfortunately I'm not able to trigger anything more than light
> >> swapping loads to test this with.
>
> On Tue, Mar 25, 2003 at 06:04:09PM +0000, Hugh Dickins wrote:
> > Sorry, Bill: please ignore this one, Andrew: I'm preparing a
> > better patch for this, extracted from my anobjrmap patches.
>
> This stuff was relatively brutally crowbarred in. Go ahead and
> send it in, I'd actually rather have rmap_get_cpu() than this.

So would I! but I'm afraid I've done this the pte_chainp way too.
rmap_get_cpu() becomes attractive when you know that you nowhere
need more than one per cpu per locking, as in anobjrmap where
copy_page_range needs none at all; but I don't see much point in
trying to backport it to mainline/-mm without that assurance.

Hugh

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



This archive was generated by hypermail 2b29 : Mon Mar 31 2003 - 22:00:20 EST