Home > Software engineering >  What does function name "brelse" in linux kernel fs/buffer.c stand for?
What does function name "brelse" in linux kernel fs/buffer.c stand for?

Time:10-31

I am diving into how to write a kernel file system driver and I quite of understand what "brelse" function is supposed to do, but I cannot make sense of this abbreviation. Is the "b" for buffer? And if yes, what does "relse" mean? Is it a useless abbreviation of "brelease"?

CodePudding user response:

It almost certainly stands for “buffer release.” While I also find the abbreviation “relse” confusing, it has precedent in an obsolete function from System V that's called “sigrelse.” It is contrasted with a function named “sighold”.

  • Related