On Tue, 12 Feb 2008, Paul Jackson wrote:I've redone my patchset based on the feedback that I've received, and in my latest revisions I folded the entire equivalent of mpol_check_policy() into mpol_new(). Lee, you feel strongly that non-empty nodemasks passed with MPOL_DEFAULT should be considered invalid and rejected by the kernel, as the current implementation does. I've brought up a counter-argument based on the set_mempolicy() man page and the Linux documentation that don't specify anything about what the nodemask shall contain if it's not a NULL pointer. My position was to give the user the benefit of the doubt. Because Linux has been vague in specifying what the nodemask shall contain, that (to me) means that it can contain anything. It's undefined, in a standards sense. The only thing that we should look for is whether the user passed MPOL_DEFAULT as the first parameter and then we should effect that policy because it's clearly the intention. I don't think there's a super strong case for either behavior, and that's why I just folded the mpol_check_policy() logic straight into mpol_new(). David --
| monstr | [PATCH 27/56] microblaze_v2: support for a.out |
| Andrew Morton | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| mdew . | Re: [patch] CFS scheduler, v4 |
| Gabriel C | Re: 2.6.21-mm1 |
git: | |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Willy Tarreau | Re: [PATCH] tcp: splice as many packets as possible at once |
| Linus Torvalds | Re: [GIT]: Networking |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
