Files
ubports_kernel_google_msm/include/linux
Michal Hocko d05f3169c0 mm: make expand_downwards() symmetrical with expand_upwards()
Currently we have expand_upwards exported while expand_downwards is
accessible only via expand_stack or expand_stack_downwards.

check_stack_guard_page is a nice example of the asymmetry.  It uses
expand_stack for VM_GROWSDOWN while expand_upwards is called for
VM_GROWSUP case.

Let's clean this up by exporting both functions and make those names
consistent.  Let's use expand_{upwards,downwards} because expanding
doesn't always involve stack manipulation (an example is
ia64_do_page_fault which uses expand_upwards for registers backing store
expansion).  expand_downwards has to be defined for both
CONFIG_STACK_GROWS{UP,DOWN} because get_arg_page calls the downwards
version in the early process initialization phase for growsup
configuration.

Signed-off-by: Michal Hocko <mhocko@suse.cz>
Acked-by: Hugh Dickins <hughd@google.com>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Cc: "Luck, Tony" <tony.luck@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-05-25 08:39:12 -07:00
..
2011-05-04 14:08:36 -07:00
2011-05-24 00:06:26 -07:00
2011-04-19 13:32:46 +02:00
2011-03-10 08:52:07 +01:00
2011-05-13 11:45:33 -07:00
2011-05-23 10:47:06 -05:00
2011-05-13 14:37:28 -04:00
2011-05-23 13:59:54 +02:00
2011-05-08 16:41:45 -07:00
2011-05-24 22:55:24 +10:00
2011-05-20 09:30:46 -03:00
2011-05-24 22:55:24 +10:00
2011-05-22 08:47:53 -04:00
2011-05-19 20:50:53 -04:00
2011-05-24 14:33:35 +02:00
2011-04-25 18:14:10 -07:00
2011-05-19 16:55:27 +09:30
2011-05-05 11:10:14 -07:00
2011-04-20 17:01:19 +10:00
2011-04-18 10:35:30 -07:00
2011-05-13 16:31:00 -07:00
2011-05-05 23:16:59 -07:00
2011-05-05 11:10:14 -07:00