1449795543 Q * fstd Remote host closed the connection 1449795555 J * fstd ~fstd@xdsl-81-173-188-219.netcologne.de 1449798850 M * Bertl off to bed now ... have a good one! 1449798854 N * Bertl Bertl_zZ 1449804766 Q * ntrs_ synthon.oftc.net graviton.oftc.net 1449804766 Q * PowerKe_ synthon.oftc.net graviton.oftc.net 1449804766 Q * webhat synthon.oftc.net graviton.oftc.net 1449804766 Q * Romster synthon.oftc.net graviton.oftc.net 1449804766 Q * gamingrobot_ synthon.oftc.net graviton.oftc.net 1449804838 J * ntrs_ ~ntrs@vault08.rosehosting.com 1449804838 J * PowerKe_ ~tom@d54C69995.access.telenet.be 1449804838 J * webhat ~quassel@31.25.99.5 1449804838 J * gamingrobot_ sid10990@id-10990.highgate.irccloud.com 1449804838 J * Romster ~Romster@202.168.100.149.dynamic.rev.eftel.com 1449817773 J * james ~james@quarry.jbmb.net 1449817796 Q * james 1449819145 J * Ghislain ~aqueos@adsl1.aqueos.com 1449819287 N * Bertl_zZ Bertl 1449819290 M * Bertl morning folks! 1449820021 Q * derjohn_mob Ping timeout: 480 seconds 1449822214 J * derjohn_mob ~aj@2001:6f8:1337:0:ddda:2a8e:c361:839 1449822985 Q * derjohn_mob Ping timeout: 480 seconds 1449823453 J * derjohn_mob ~aj@2001:6f8:1337:0:75a8:16a4:a1c9:27e5 1449824836 Q * Romster synthon.oftc.net graviton.oftc.net 1449824836 Q * PowerKe_ synthon.oftc.net graviton.oftc.net 1449824836 Q * ntrs_ synthon.oftc.net graviton.oftc.net 1449824836 Q * gamingrobot_ synthon.oftc.net graviton.oftc.net 1449824836 Q * webhat synthon.oftc.net graviton.oftc.net 1449824899 J * ntrs_ ~ntrs@vault08.rosehosting.com 1449824899 J * PowerKe_ ~tom@d54C69995.access.telenet.be 1449824899 J * webhat ~quassel@31.25.99.5 1449824899 J * gamingrobot_ sid10990@id-10990.highgate.irccloud.com 1449824899 J * Romster ~Romster@202.168.100.149.dynamic.rev.eftel.com 1449824936 M * Ghislain hello bertl 1449825109 M * Bertl hey 1449825984 M * Ghislain reading the locjk code, really hard for me i dont see the flow of call, seems there is 2 call i guess one is not accounted for 1449826091 M * Bertl the basic idea is to increment when a lock structure is created and to decrement when the lock structure is disposed/freed 1449826106 M * Ghislain yes 1449826114 M * Bertl the main problem is usually with sharing, caching and reuse 1449826142 M * Guy- "There are only two hard problems in computer science: cache invalidation, naming things, and off-by-one errors" 1449826474 M * Bertl LOL 1449826612 M * Ghislain ;p 1449828696 Q * Romster synthon.oftc.net graviton.oftc.net 1449828696 Q * PowerKe_ synthon.oftc.net graviton.oftc.net 1449828696 Q * ntrs_ synthon.oftc.net graviton.oftc.net 1449828696 Q * gamingrobot_ synthon.oftc.net graviton.oftc.net 1449828696 Q * webhat synthon.oftc.net graviton.oftc.net 1449828761 J * ntrs_ ~ntrs@vault08.rosehosting.com 1449828761 J * PowerKe_ ~tom@d54C69995.access.telenet.be 1449828761 J * webhat ~quassel@31.25.99.5 1449828761 J * gamingrobot_ sid10990@id-10990.highgate.irccloud.com 1449828761 J * Romster ~Romster@202.168.100.149.dynamic.rev.eftel.com 1449829136 Q * Romster synthon.oftc.net graviton.oftc.net 1449829136 Q * PowerKe_ synthon.oftc.net graviton.oftc.net 1449829136 Q * ntrs_ synthon.oftc.net graviton.oftc.net 1449829136 Q * gamingrobot_ synthon.oftc.net graviton.oftc.net 1449829136 Q * webhat synthon.oftc.net graviton.oftc.net 1449829174 J * ntrs_ ~ntrs@vault08.rosehosting.com 1449829174 J * PowerKe_ ~tom@d54C69995.access.telenet.be 1449829174 J * webhat ~quassel@31.25.99.5 1449829174 J * gamingrobot_ sid10990@id-10990.highgate.irccloud.com 1449829174 J * Romster ~Romster@202.168.100.149.dynamic.rev.eftel.com 1449830311 M * Ghislain what if we +1 when kmem alloc a struct and -1 when it frees it ? 1449830581 M * Ghislain i do not understand c.. i see that: 1449830581 M * Ghislain static struct kmem_cache *flctx_cache __read_mostly; 1449830581 M * Ghislain static struct kmem_cache *filelock_cache __read_mostly; 1449830600 M * Ghislain it define two time the very same thing one line after the other ? 1449830703 M * Guy- this defines two pointers to kmem_cache structures 1449830714 M * Guy- one pointer is called flctx_cache, the other filelock_cache 1449830730 M * Guy- so the code declares two different pointer variables of the same type 1449830821 M * Bertl if we just work on alloc and free, the lock count will be off in both directions 1449830868 M * Bertl first case: the lock structure comes from the cache (i.e. is already allocated) -> negative count on exit if the structure is freed 1449830903 M * Bertl second case: the lock structure gets allocated, but then ends up in the cache -> positive count on exit, because it isn't freed 1449830935 M * Ghislain ok it would be EVENTUALLY correct but not correct;p 1449830951 M * Ghislain ie when all caches dies 1449830970 M * Ghislain solution we remove caching from the kernel: problem solved ! 1449831134 J * Gremble ~Gremble@cpc87151-aztw31-2-0-cust755.18-1.cable.virginm.net 1449831165 M * Bertl sounds like a plan! :) 1449831221 M * Ghislain apart from reading the sparse code comment where i could find some more docs about hte kernel mecanics ? is there a 'i start iun c on linux' guide ? 1449831278 M * Ghislain let me guess, documentaiton folder... 1449832676 Q * Romster synthon.oftc.net graviton.oftc.net 1449832676 Q * PowerKe_ synthon.oftc.net graviton.oftc.net 1449832676 Q * ntrs_ synthon.oftc.net graviton.oftc.net 1449832676 Q * gamingrobot_ synthon.oftc.net graviton.oftc.net 1449832676 Q * webhat synthon.oftc.net graviton.oftc.net 1449832751 J * ntrs_ ~ntrs@vault08.rosehosting.com 1449832751 J * PowerKe_ ~tom@d54C69995.access.telenet.be 1449832751 J * webhat ~quassel@31.25.99.5 1449832751 J * gamingrobot_ sid10990@id-10990.highgate.irccloud.com 1449832751 J * Romster ~Romster@202.168.100.149.dynamic.rev.eftel.com 1449833197 M * Bertl besides the documentation folder there are some very nice articles from rusty russel (online) about various mechanisms 1449833203 M * Bertl off for now ... bbl 1449833205 N * Bertl Bertl_oO 1449835602 Q * Aiken Remote host closed the connection 1449837051 Q * Romster synthon.oftc.net graviton.oftc.net 1449837051 Q * PowerKe_ synthon.oftc.net graviton.oftc.net 1449837051 Q * ntrs_ synthon.oftc.net graviton.oftc.net 1449837051 Q * gamingrobot_ synthon.oftc.net graviton.oftc.net 1449837051 Q * webhat synthon.oftc.net graviton.oftc.net 1449837119 J * ntrs_ ~ntrs@vault08.rosehosting.com 1449837119 J * PowerKe_ ~tom@d54C69995.access.telenet.be 1449837119 J * webhat ~quassel@31.25.99.5 1449837119 J * gamingrobot_ sid10990@id-10990.highgate.irccloud.com 1449837119 J * Romster ~Romster@202.168.100.149.dynamic.rev.eftel.com 1449838743 Q * fstd Remote host closed the connection 1449838754 J * fstd ~fstd@xdsl-84-44-224-105.netcologne.de 1449839030 J * beng ~Gremble@cpc87151-aztw31-2-0-cust755.18-1.cable.virginm.net 1449839167 Q * beng 1449840363 M * Ghislain i fear his skills are a little rusty no ? muhahha 1449840406 M * Ghislain https://www.kernel.org/pub/linux/kernel/people/rusty/kernel-locking/index.html lets goo 1449840899 Q * AlexanderS Quit: WeeChat 1.0.1 1449844072 J * AlexanderS ~Alexander@home.zedat.fu-berlin.de 1449846955 Q * Gremble Quit: I Leave 1449850485 Q * Defaultti Quit: Quitting. 1449850543 J * Defaultti defaultti@lakka.kapsi.fi 1449852156 Q * derjohn_mob Ping timeout: 480 seconds 1449862748 J * Aiken ~Aiken@d63f.h.jbmb.net 1449864148 Q * Aiken Remote host closed the connection 1449864415 J * Aiken ~Aiken@d63f.h.jbmb.net 1449865464 M * Bertl_oO off for a nap ... bbl 1449865465 N * Bertl_oO Bertl_zZ 1449876685 Q * Romster Ping timeout: 480 seconds 1449876840 J * Romster ~Romster@202.168.100.149.dynamic.rev.eftel.com