Re: where is the module reference count incremented or decremented ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Yes, I mean the number got by lsmod or cat /proc/modules..


2014년 03월 03일 20:36, Rishi Agrawal 쓴 글:



On Mon, Mar 3, 2014 at 4:21 PM, Jeong-Hwan Kim <jhkim@xxxxxxxxxxx> wrote:
Hi, everyone

When the module is communicating with user through /proc file system,
where is the module reference count incremented or decremented in kernel
source?

Thanks in advance.

Best Regards,

J.Hwan Kim


_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Are you talking about this usage count - which we get on lsmod command, or you are talking about something else.

lsmod | grep btrfs
btrfs                 761721  1
zlib_deflate           26914  1 btrfs
libcrc32c              12644  1 btrfs


--
Regards,
Rishi Agrawal


_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux