Re: [RFC PATCH v2 2/3] thread_local_abi: wire up x86 32/64 system call

2015-12-23 Thread Josh Triplett
On December 22, 2015 10:02:12 AM PST, Mathieu Desnoyers wrote: >Wire up the thread local ABI on x86 32/64. Call the >thread_local_abi_handle_notify_resume() function on return to >userspace if TIF_NOTIFY_RESUME thread flag is set. > >This provides an ABI improving the speed of a getcpu operation

Re: [PATCH 3/8 v8.2] cgroup: introduce cgroup namespaces

2015-12-23 Thread Serge E. Hallyn
Introduce the ability to create new cgroup namespace. The newly created cgroup namespace remembers the cgroup of the process at the point of creation of the cgroup namespace (referred as cgroupns-root). The main purpose of cgroup namespace is to virtualize the contents of /proc/self/cgroup file. Pr

Re: [PATCH 1/8 v8.2] kernfs: Add API to generate relative kernfs path

2015-12-23 Thread Serge E. Hallyn
e minds I can update it too. Changelog 20151223: - don't allocate memory pr_cont_kernfs_path() under spinlock --- fs/kernfs/dir.c| 192 include/linux/kernfs.h |9 ++- 2 files changed, 166 insertions(+), 35 deletions(-) diff --g

Re: [PATCH 1/8] kernfs: Add API to generate relative kernfs path

2015-12-23 Thread Greg KH
On Wed, Dec 23, 2015 at 11:24:33AM -0500, Tejun Heo wrote: > On Tue, Dec 22, 2015 at 10:23:22PM -0600, serge.hal...@ubuntu.com wrote: > > From: Aditya Kali > > > > The new function kernfs_path_from_node() generates and returns kernfs > > path of a given kernfs_node relative to a given parent kern

Re: [PATCH 5/8] kernfs: define kernfs_node_dentry

2015-12-23 Thread Greg KH
On Wed, Dec 23, 2015 at 11:25:15AM -0500, Tejun Heo wrote: > On Tue, Dec 22, 2015 at 10:23:26PM -0600, serge.hal...@ubuntu.com wrote: > > From: Aditya Kali > > > > Add a new kernfs api is added to lookup the dentry for a particular > > kernfs path. > > > > Signed-off-by: Aditya Kali > > Signed-

Re: [PATCH 1/8] kernfs: Add API to generate relative kernfs path

2015-12-23 Thread Serge E. Hallyn
On Wed, Dec 23, 2015 at 11:08:54AM -0500, Tejun Heo wrote: > Hello, Serge. > > On Tue, Dec 22, 2015 at 10:23:22PM -0600, serge.hal...@ubuntu.com wrote: > > @@ -164,18 +286,39 @@ void pr_cont_kernfs_name(struct kernfs_node *kn) > > void pr_cont_kernfs_path(struct kernfs_node *kn) > > { > > un

Re: [PATCH 5/8] kernfs: define kernfs_node_dentry

2015-12-23 Thread Tejun Heo
On Tue, Dec 22, 2015 at 10:23:26PM -0600, serge.hal...@ubuntu.com wrote: > From: Aditya Kali > > Add a new kernfs api is added to lookup the dentry for a particular > kernfs path. > > Signed-off-by: Aditya Kali > Signed-off-by: Serge E. Hallyn Greg, this is the other kernfs change in the seri

Re: [PATCH 1/8] kernfs: Add API to generate relative kernfs path

2015-12-23 Thread Tejun Heo
On Tue, Dec 22, 2015 at 10:23:22PM -0600, serge.hal...@ubuntu.com wrote: > From: Aditya Kali > > The new function kernfs_path_from_node() generates and returns kernfs > path of a given kernfs_node relative to a given parent kernfs_node. > > Signed-off-by: Aditya Kali > Signed-off-by: Serge E. H

Re: [PATCH 3/8] cgroup: introduce cgroup namespaces

2015-12-23 Thread Tejun Heo
Hello, On Tue, Dec 22, 2015 at 10:23:24PM -0600, serge.hal...@ubuntu.com wrote: ... > +char *cgroup_path(struct cgroup *cgrp, char *buf, size_t buflen) > +{ > + int ret; > + > + ret = cgroup_path_ns(cgrp, buf, buflen, current->nsproxy->cgroup_ns); > + if (ret < 0 || ret >= buflen)

Re: [PATCH 1/8] kernfs: Add API to generate relative kernfs path

2015-12-23 Thread Tejun Heo
Hello, Serge. On Tue, Dec 22, 2015 at 10:23:22PM -0600, serge.hal...@ubuntu.com wrote: > @@ -164,18 +286,39 @@ void pr_cont_kernfs_name(struct kernfs_node *kn) > void pr_cont_kernfs_path(struct kernfs_node *kn) > { > unsigned long flags; > - char *p; > + char *p = NULL; > + int

Re: [PATCH] drivers/char/mem.c: Add /dev/ioports, supporting 16-bit and 32-bit ports

2015-12-23 Thread Santosh Shukla
On 23 December 2015 at 03:26, Arnd Bergmann wrote: > On Tuesday 22 December 2015, Santosh Shukla wrote: >> } >> >> So I care for /dev/ioport types interface who could do more than byte >> data copy to/from user-space. I tested this patch with little >> modification and could able to run pmd driver

Re: [PATCH v1 09/10] ARM: dts: introduce MPS2 AN385/AN386

2015-12-23 Thread Vladimir Murzin
I'd very appreciate some feedback on this (and following) patch from DT camp, so I could incorporate them in the next attempt after merge window closed. Merry Christmas! Vladimir On 02/12/15 09:33, Vladimir Murzin wrote: > Application Notes 385 and 386 shares the same memory map and features > ex