Re: [PATCH 0/3] smp: reduce stack requirements for smp_call_function_mask

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: David Miller
Date: Monday, September 8, 2008 - 12:51 pm

From: Nick Piggin <nickpiggin@yahoo.com.au>
Date: Mon, 8 Sep 2008 20:30:41 +1000


This is a great idea, especially since it will make it even more
painfully obvious that essentially any function local cpumask_t
variable is a bug.

Really, it seems sensible to do something like:

1) Make cpumask_t a pointer.

2) Add cpumask_data_t which is what cpumask_t is now.  This gets
   used when for the actual storage, and will only get applied to
   datastructures that are dynamically allocated.  For example, for
   the cpu_vm_mask in mm_struct.

3) Type make and fix build failures until they are all gone.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 0/3] smp: reduce stack requirements , Nick Piggin, (Mon Sep 8, 3:30 am)
Re: [PATCH 0/3] smp: reduce stack requirements for smp_cal ..., David Miller, (Mon Sep 8, 12:51 pm)