lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 22 Jun 2012 09:12:43 +0200
From:	Ingo Molnar <mingo@...nel.org>
To:	Andrew Morton <akpm@...ux-foundation.org>
Cc:	Linus Torvalds <torvalds@...ux-foundation.org>,
	David Rientjes <rientjes@...gle.com>,
	Mel Gorman <mgorman@...e.de>,
	KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>,
	linux-kernel@...r.kernel.org, linux-mm@...ck.org,
	Peter Zijlstra <a.p.zijlstra@...llo.nl>,
	Ingo Molnar <mingo@...e.hu>
Subject: Re: [patch 3.5-rc3] mm, mempolicy: fix mbind() to do synchronous
 migration


* Andrew Morton <akpm@...ux-foundation.org> wrote:

> On Thu, 21 Jun 2012 17:46:52 -0700 Linus Torvalds <torvalds@...ux-foundation.org> wrote:
> 
> > On Thu, Jun 21, 2012 at 4:46 PM, Andrew Morton
> > <akpm@...ux-foundation.org> wrote:
> > >
> > > I can't really do anything with this patch - it's a bug 
> > > added by Peter's "mm/mpol: Simplify do_mbind()" and added 
> > > to linux-next via one of Ingo's trees.
> > >
> > > And I can't cleanly take the patch over as it's all bound 
> > > up with the other changes for sched/numa balancing.
> > 
> > I took the patch, it looked obviously correct (passing in a 
> > boolean was clearly crap).
> 
> Ah, OK, the bug was actually "retained" by "mm/mpol: Simplify 
> do_mbind()".
> 
> I do still ask what the plans are for that patchset..

Somewhat off topic, but the main sched/numa objections were over 
the mbind/etc. syscalls and the extra configuration space - we 
dropped those bits and just turned it all into an improved NUMA 
scheduling feature, as suggested by Peter and me in the original 
discussion.

There were no objections to that approach so the reworked NUMA 
scheduling/balancing scheme is now in the scheduler tree 
(tip:sched/core).

The mbind/etc. syscall changes and all the related cleanups, 
speedups and reorganization of the MM code are still in limbo.

I dropped them with the rest of tip:sched/numa as nobody from 
the MM side expressed much interest in them and I wanted to keep 
things simple and not carry objected-to commits.

We can revive them if there's interest and consensus. I suspect 
once we gather experience with the automatic NUMA scheduling 
feature we'll see whether it's worth exposing that to user-space 
as an ABI - or whether we should go back to random placement and 
forget about it all.

Thanks,

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ