Re: [PATCH 1/2 (repost)] mm: serialize OOM kill operations

From: Andrew Morton
Date: Thu Apr 27 2006 - 17:07:03 EST


Paul Jackson <pj@xxxxxxx> wrote:
>
> Adding a 'oom_notify' bitfield after the existing 'dumpable'
> bitfield in mm_struct would save that slot:
>
> unsigned dumpable:2;
> unsigned oom_notify:1;

Note that these will occupy the same machine word. So they'll need
locking. (Good luck trying to demonstrate the race though!)

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