Re: [RFC] Add a new generic system call which has better performance, to get /proc data, than existing mechanisms

From: Anjali Kulkarni
Date: Sun Nov 20 2022 - 14:38:23 EST


Thank you! I have fixed it.
Anjali

________________________________________
From: Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx>
Sent: Sunday, November 20, 2022 12:21 AM
To: Anjali Kulkarni
Cc: linux-kernel@xxxxxxxxxxxxxxx
Subject: Re: [RFC] Add a new generic system call which has better performance, to get /proc data, than existing mechanisms

Note, html email is rejected by kernel mailing lists, and top-posting
does not work at all in discussions. Please fix your email client if
you wish to participate in kernel development.

On Sat, Nov 19, 2022 at 05:50:03PM +0000, Anjali Kulkarni wrote:
> I will give it a try, but the majority of the savings are due to avoiding the conversion from binary to string in /proc.

That goes contrary to your previous statement saying that the readfile
call would help out here.

And there might be ways to convert binary to strings, perhaps look into
doing that?

good luck,

greg k-h