lkml.org 
[lkml]   [2008]   [Mar]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH]iommu-iotlb-flushing
On Fri, Feb 29, 2008 at 03:18:41PM -0800, mark gross wrote:
> > > --- linux-2.6.24-mm1.orig/Documentation/kernel-parameters.txt 2008-02-12 07:12:06.000000000 -0800
> > > +++ linux-2.6.24-mm1/Documentation/kernel-parameters.txt 2008-02-13 11:17:22.000000000 -0800
> > > @@ -822,6 +822,10 @@
> > > than 32 bit addressing. The default is to look
> > > for translation below 32 bit and if not available
> > > then look in the higher range.
> > > + strict [Default Off]
> > > + With this option on every unmap_single operation will
> > > + result in a hardware IOTLB flush operation as opposed
> > > + to batching them for performance.
> >
> > boot-time options suck. Is it not possible to tweak this at runtime?
>
> Yes, I could easily create a sysfs or debugfs mechanism for turning it
> on / off at run time. I would like input on the preferred way to do this.
> sysfs or debugfs?

Which is it, a debugging option, or something that anyone would want to
change? If debugging, make it a debugfs file. Otherwise sysfs if fine,
but be sure to add a Documentation/ABI/ file for it.

thanks,

greg k-h


\
 
 \ /
  Last update: 2008-03-01 06:57    [W:0.328 / U:0.308 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site