Messages in this thread | | | Date | Fri, 29 Feb 2008 21:54:55 -0800 | From | Greg KH <> | Subject | Re: [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
| |