Re: [PATCH] arch/tile: add /proc/tile, /proc/sys/tile, and a sysfs cpu attribute

2011-05-25 Thread Chris Metcalf
On 5/20/2011 3:59 PM, Arnd Bergmann wrote: Any chance you can still restructure the information? I would recommend making it a first-class procfs member, since the data is really per-task. You can add a conditional entry to tgid_base_stuff[] in fs/proc/base.c to make it show up for each pid,

Re: [PATCH] arch/tile: add /proc/tile, /proc/sys/tile, and a sysfs cpu attribute

2011-05-25 Thread Chris Metcalf
(Resending after marking LKML in my Thunderbird address book for no HTML.) On 5/20/2011 3:59 PM, Arnd Bergmann wrote: Any chance you can still restructure the information? I would recommend making it a first-class procfs member, since the data is really per-task. You can add a conditional

Re: [PATCH] arch/tile: add /proc/tile, /proc/sys/tile, and a sysfs cpu attribute

2011-05-25 Thread Chris Metcalf
(Resending with no HTML for LKML.) On 5/20/2011 3:59 PM, Arnd Bergmann wrote: Any chance you can still restructure the information? I would recommend making it a first-class procfs member, since the data is really per-task. You can add a conditional entry to tgid_base_stuff[] in

Re: [PATCH] arch/tile: add /proc/tile, /proc/sys/tile, and a sysfs cpu attribute

2011-05-25 Thread Arnd Bergmann
On Wednesday 25 May 2011 21:18:05 Chris Metcalf wrote: (Resending with no HTML for LKML.) On 5/20/2011 3:59 PM, Arnd Bergmann wrote: Any chance you can still restructure the information? I would recommend making it a first-class procfs member, since the data is really per-task. You can

Re: [PATCH] arch/tile: add /proc/tile, /proc/sys/tile, and a sysfs cpu attribute

2011-05-25 Thread Chris Metcalf
On 5/25/2011 4:20 PM, Arnd Bergmann wrote: On Wednesday 25 May 2011 21:18:05 Chris Metcalf wrote: The contents of the hardwall ID file are then just a cpulist of the cpus covered by the hardwall, rather than introducing a new convention (as quoted above, e.g. 2x2 1,1). Individual tasks that

Re: [PATCH] arch/tile: add /proc/tile, /proc/sys/tile, and a sysfs cpu attribute

2011-05-25 Thread Arnd Bergmann
On Wednesday 25 May 2011 22:31:37 Chris Metcalf wrote: On 5/25/2011 4:20 PM, Arnd Bergmann wrote: On Wednesday 25 May 2011 21:18:05 Chris Metcalf wrote: The contents of the hardwall ID file are then just a cpulist of the cpus covered by the hardwall, rather than introducing a new convention

Re: [PATCH] arch/tile: add /proc/tile, /proc/sys/tile, and a sysfs cpu attribute

2011-05-24 Thread Arnd Bergmann
On Thursday 19 May 2011, Arnd Bergmann wrote: # cat /proc/tile/board board_part: 402-2-05 board_serial: NBS-5002-00012 chip_serial: P62338.01.110 chip_revision: A0 board_revision: 2.2 board_description: Tilera TILExpressPro-64, TILEPro64 processor (866 MHz-capable), 1

Re: [PATCH] arch/tile: add /proc/tile, /proc/sys/tile, and a sysfs cpu attribute

2011-05-20 Thread Chris Metcalf
On 5/19/2011 11:22 AM, Arnd Bergmann wrote: On Thursday 19 May 2011, Chris Metcalf wrote: /proc/tile/board Information on part numbers, serial numbers, etc., of the hardware that the kernel is executing on /proc/tile/switch The type of control path for the onboard network switch, if

Re: [PATCH] arch/tile: add /proc/tile, /proc/sys/tile, and a sysfs cpu attribute

2011-05-20 Thread Arnd Bergmann
On Friday 20 May 2011 16:26:57 Chris Metcalf wrote: /proc/tile/hardwall Information on the set of currently active hardwalls (note that the implementation is already present in arch/tile/kernel/hardwall.c; this change just enables it) This one is not a hypervisor-related file. It

Re: [PATCH] arch/tile: add /proc/tile, /proc/sys/tile, and a sysfs cpu attribute

2011-05-20 Thread Chris Metcalf
On 5/20/2011 10:37 AM, Arnd Bergmann wrote: On Friday 20 May 2011 16:26:57 Chris Metcalf wrote: /proc/tile/hardwall Information on the set of currently active hardwalls (note that the implementation is already present in arch/tile/kernel/hardwall.c; this change just enables it) Ah, I

Re: [PATCH] arch/tile: add /proc/tile, /proc/sys/tile, and a sysfs cpu attribute

2011-05-20 Thread Arnd Bergmann
On Friday 20 May 2011 17:00:47 Chris Metcalf wrote: Any chance you can still restructure the information? I would recommend making it a first-class procfs member, since the data is really per-task. You can add a conditional entry to tgid_base_stuff[] in fs/proc/base.c to make it show up

Re: [PATCH] arch/tile: add /proc/tile, /proc/sys/tile, and a sysfs cpu attribute

2011-05-20 Thread Arnd Bergmann
On Friday 20 May 2011 17:13:25 Arnd Bergmann wrote: On Friday 20 May 2011 17:00:47 Chris Metcalf wrote: Any chance you can still restructure the information? I would recommend making it a first-class procfs member, since the data is really per-task. You can add a conditional entry to

Re: [PATCH] arch/tile: add /proc/tile, /proc/sys/tile, and a sysfs cpu attribute

2011-05-19 Thread Arnd Bergmann
(adding virtualization mailing list) On Thursday 19 May 2011, Chris Metcalf wrote: On 5/19/2011 9:41 AM, Arnd Bergmann wrote: /proc/tile/hvconfig Detailed configuration description of the hypervisor config I'm concerned about moving this one out of /proc, since it's just (copious) free