lkml.org 
[lkml]   [2023]   [Aug]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v5 06/24] x86/resctrl: Track the number of dirty RMID a CLOSID has
On Thu, Aug 24, 2023 at 05:53:03PM +0100, James Morse wrote:
> Something on my eternal-todo-list is to make the filesystem parts of resctrl a loadable
> module (if Tony doesn't get there first!). That would flush this sort of thing out.
> Last time I triggered resctrl_exit() manually not all of the files got cleaned up - I
> haven't investigated it further.

James,

I looked at going to a full loadable module approach for about 3 seconds,
and found none of the kernfs support functions are exported. So I also
put that on the eternal-todo-list :-)

There are possibly a few other functions that need exporting like
get_cpu_cacheinfo(), and two or three others from the "perf"
code for pseudo-lock debugfs support.

-Tony

P.S. Latest version of my re-write is at:

https://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux.git/log/?h=resctrl2_v65rc7

Well, almost latest. I haven't pushed the changes to auto-load all the
modules for basic X86 functions based on X86_FEATURE_* bits.

\
 
 \ /
  Last update: 2023-08-31 00:34    [W:0.097 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site