/srv/irclogs.ubuntu.com/2008/12/08/#ubuntu-kernel.txt

=== Keybuk is now known as Guest30696
=== Keybuk_ is now known as Keybuk
glickexcuse me im trying to go through each process in the system and write some information about them into a prof file using the seq_file interface03:51
glickbut i have some questions about the seq_file interfeace03:51
glickinterface03:51
glickfirstly i wonder if i should use the seq_file interface or the simpler proc_fs interface03:52
glickbut im concerned about systems that may be running many many processes so that the file may excede one page03:52
glickwhich method should i use?03:54
glickthe proc_fs method seems straightforward03:54
glickbut the seq_file method seems more robust03:54
glickto write some data to a profile03:54
glickproc file03:54
macoif i need to get the kernel's source package so i can test cherry-picking a patch from upstream, which source package is that? "apt-get source linux" isn't it.04:06
glickwhts the size of a linux kernel page on a 32 bit machine?04:14
andersk4 KiB. 04:14
glickand whats the max number or processes on a linux machine?04:15
glickrunning04:15
glick32 bits04:15
maconvm, i found it04:16
andersk32768, I think. 04:16
glickhow can i use seq_file to iterate through a list04:26
glickthe seq_file interface04:26
glickit seems like it only works on iterable items, 04:26
glickbut processes are maintained in a linked list04:26
glickso i cant really use position04:26
glickhey, how can i temporarily lock the task list so that tasks can;t be added or removed?05:34
glickhey how can i iterate through a process' open file descriptors?07:12
NCommanderglick, lsof | grep *process name*07:14
glickNCommander, no i mean from a task_struct in a kernel module07:16
glickexcuse me08:05
glickcan someone t08:05
glickhey i just did make mrproper in my kernel tree now when i try to build it it says debian/rules: No such file or directory08:28
Zhenechmh, does Ubuntu still support Sparc64?11:24
=== asac_ is now known as asac
=== thegodfather is now known as fabbione
=== ivoks is now known as ivoks_
=== pericamali is now known as ivoks

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!