[vserver] patch for conflict in mm/memory.c in 2.6.27.52

From: Corey Wright <undefined_at_pobox.com>
Date: Sat 21 Aug 2010 - 02:01:23 BST
Message-Id: <20100820200123.a432e617.undefined@pobox.com>

the recent 2.6.27.52 conflicts with patch-2.6.27.48-vs2.3.0.36.9.diff in
mm/memory.c and attached is my attempt at resolving the conflict.

2.6.27.52 adds check_stack_guard_page() to do_anonymous_page() right before
anon_vma_prepare(), which conflicts with linux-vserver's addition of
vx_rss_avail() in the same location. which one should be first or does it
matter at all)?

my guess, as reflected in the attached patch, is check_stack_guard_page()
then vx_rss_avail() (because check_stack_guard_page() is more important
than vx_rss_avail(), so check it first). if i'm wrong (or even right, but
for the wrong reason), then please let me know why, as i'm interested in
learning.

corey

-- 
undefined@pobox.com

Received on Sat Aug 21 02:02:10 2010
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Sat 21 Aug 2010 - 02:02:10 BST by hypermail 2.1.8