linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* "klist" "k" stand for what ?
@ 2016-12-21 10:23 galcon zhao
  2016-12-22 18:24 ` Randy Dunlap
  0 siblings, 1 reply; 2+ messages in thread
From: galcon zhao @ 2016-12-21 10:23 UTC (permalink / raw)
  To: linux-kernel

 HI ALL:

    I am reading kernel source code ,but  I have a question.

    struct klist {
        spinlock_t k_lock;
        struct list_head k_list;
        void (*get)(struct klist_node *);
        void (*put)(struct klist_node *);
    } __attribute__ ((aligned (sizeof(void *))));
    "klist"    "k"  stand for what  ?

    I think "k" is "key",  Is it right?

galcon
cheers!!!

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: "klist" "k" stand for what ?
  2016-12-21 10:23 "klist" "k" stand for what ? galcon zhao
@ 2016-12-22 18:24 ` Randy Dunlap
  0 siblings, 0 replies; 2+ messages in thread
From: Randy Dunlap @ 2016-12-22 18:24 UTC (permalink / raw)
  To: galcon zhao, linux-kernel

On 12/21/16 02:23, galcon zhao wrote:
>  HI ALL:
> 
>     I am reading kernel source code ,but  I have a question.
> 
>     struct klist {
>         spinlock_t k_lock;
>         struct list_head k_list;
>         void (*get)(struct klist_node *);
>         void (*put)(struct klist_node *);
>     } __attribute__ ((aligned (sizeof(void *))));
>     "klist"    "k"  stand for what  ?
> 
>     I think "k" is "key",  Is it right?

Not sure, but I expect that it means "kernel" list.

-- 
~Randy

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-12-22 18:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-21 10:23 "klist" "k" stand for what ? galcon zhao
2016-12-22 18:24 ` Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).