[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20110718071606.GA29538@redhat.com>
Date: Mon, 18 Jul 2011 10:16:06 +0300
From: "Michael S. Tsirkin" <mst@...hat.com>
To: Jesper Juhl <jj@...osbits.net>
Cc: kvm@...r.kernel.org, virtualization@...ts.linux-foundation.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCHv9] vhost: experimental tx zero-copy support
On Sun, Jul 17, 2011 at 10:01:41PM +0200, Jesper Juhl wrote:
> > @@ -28,10 +29,18 @@
> >
> > #include "vhost.h"
> >
> > +static int zcopytx;
> > +module_param(zcopytx, int, 0444);
>
> Should everyone be able to read this? How about "0440" just to be
> paranoid? or?
I find it very helpful to have the parameter visible in sysfs.
Given that:
[mst@...k linux-2.6]$ grep module_param drivers/net/*c|grep [64]44|wc -l
14
[mst@...k linux-2.6]$ grep module_param drivers/net/*c|grep [64]40|wc -l
0
[mst@...k linux-2.6]$ grep module_param drivers/net/*c|grep [64]00|wc -l
7
So at least the precedent is against 0440. What do you think?
--
MST
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists