Lock routine for /proc file system

2017-05-25 Thread Kim, Jeong-Hwan
Hi, everyone Is there locking routine for protecting /proc file system? Can I access the same /proc file (ex. /proc/cpuinfo) from several tasks without explicit lock routine? Thanks in advance J.Hwan Kim ___ Kernelnewbies mailing list Kernelne

Re: How to setup network connection for initramfs running in QEMU?

2017-05-25 Thread Pranay Srivastava
Hi Douglas, Do you've /etc/hosts ? Have you tried giving the loopback address in that file? Just check any /etc/hosts file from another distribution and hack on it to at least have loopback address pinged. Then we'll try to fix machine to machine ping. (Tun-tap? Not sure really.) On 26-May-20

How to setup network connection for initramfs running in QEMU?

2017-05-25 Thread Douglas Su
Thanks to this mail list, I have already successfully set up a simple initramfs and booted it in QEMU with busybox tools. However, there is no network connection for the initramfs, that makes me hard to exchange files between qemu and the host. Command `ip link show` tells there exists only one

Re: what is the current/ongoing state of userspace access to GPIO?

2017-05-25 Thread Robert P. J. Day
On Thu, 25 May 2017, valdis.kletni...@vt.edu wrote: > On Thu, 25 May 2017 15:20:06 -0400, "Robert P. J. Day" said: > > On Thu, 25 May 2017, Greg KH wrote: > > > > > On Thu, May 25, 2017 at 03:02:24PM -0400, Robert P. J. Day wrote: > > > > > > > > thoughts? > > > > > > Why not ask on the linux-gp

Re: what is the current/ongoing state of userspace access to GPIO?

2017-05-25 Thread valdis . kletnieks
On Thu, 25 May 2017 15:20:06 -0400, "Robert P. J. Day" said: > On Thu, 25 May 2017, Greg KH wrote: > > > On Thu, May 25, 2017 at 03:02:24PM -0400, Robert P. J. Day wrote: > > > > > > thoughts? > > > > Why not ask on the linux-gpio mailing list? > > huh, i didn't even know there was such a thing

Re: what is the current/ongoing state of userspace access to GPIO?

2017-05-25 Thread Robert P. J. Day
On Thu, 25 May 2017, Greg KH wrote: > On Thu, May 25, 2017 at 03:02:24PM -0400, Robert P. J. Day wrote: > > > > thoughts? > > Why not ask on the linux-gpio mailing list? huh, i didn't even know there was such a thing. rday -- ===

Re: what is the current/ongoing state of userspace access to GPIO?

2017-05-25 Thread Greg KH
On Thu, May 25, 2017 at 03:02:24PM -0400, Robert P. J. Day wrote: > > thoughts? Why not ask on the linux-gpio mailing list? ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Lock contention determination

2017-05-25 Thread Yiqun Chen
Hi all If I have a lockstat report showing that some lock has more waiting time than holding time, can I assert that this lock is (one of) the performance bottlenecks? Here performance bottleneck means we could optimize lock usage, e.g. reduce the size of critical section etc. If not, why? Thanks b

Re: what is the current/ongoing state of userspace access to GPIO?

2017-05-25 Thread Robert P. J. Day
On Wed, 24 May 2017, Clemens Gruber wrote: > Hi, > > On Wed, May 24, 2017 at 07:58:19AM -0400, Robert P. J. Day wrote: > > > > ashamed to admit, i haven't been keeping up with this, so AIUI, > > the GPIO sysfs interface is deprecated, replaced with character > > device files (/dev/gpiochip*) to

Re: Multipath support?

2017-05-25 Thread Vasu M
On Thu, May 25, 2017 at 12:05 AM, Vasu M wrote: > I would like to know from which version of Linux, ECMP is supported? I am > trying to add a route with two next hops. Only one path gets added. And for > the other path, the route says "RTNETLINK answers: File exists". I am not > able to understan

Multipath support?

2017-05-25 Thread Vasu M
I would like to know from which version of Linux, ECMP is supported? I am trying to add a route with two next hops. Only one path gets added. And for the other path, the route says "RTNETLINK answers: File exists". I am not able to understand what's going on. The route prefix is not pointing to ecm