Re: [rfc 2/4] procfs: Convert /proc/pid/fdinfo/fd handling routinesinto seq-file with fdinfo helpers

From: Pavel Emelyanov
Date: Thu May 17 2012 - 12:32:09 EST


On 05/17/2012 08:07 PM, Cyrill Gorcunov wrote:
> This patch converts /proc/pid/fdinfo/fd handling routines to seq-files with
> ability to plug in additional fdinfo helpers from other subsystems.
>
> For example files created in eventfd/eventpoll/inotify subsystems might print
> out additional information, not just file position and flags.
>
> Still if there no fdinfo helpers registered then the output is well known
> pos, flags pair.
>
> Signed-off-by: Cyrill Gorcunov <gorcunov@xxxxxxxxxx>

I would split this into two parts -- the 1st one turns fdinfo into seq-files
and the 2nd one adds the fdinfo helpers. This will make the review MUCH simpler.

Thanks,
Pavel

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/