Messages in this thread | | | Date | Wed, 30 Jan 2002 15:50:40 +1100 | From | Anton Blanchard <> | Subject | Re: [PATCH] 2.5: push BKL out of llseek |
| |
> This patch pushes the BKL out of llseek() and into the individual llseek > methods. For generic_file_llseek, I replaced it with the inode > semaphore. The lock contention is noticeable even on 2-way systems. > Since we simply push the BKL further down the call chain (its the llseek > method's responsibilities now) we aren't doing anything hackish or > unsafe.
A great idea, I wonder why someone didnt think of it before?
http://banyan.dlut.edu.cn/news/112801/0186.html
Wow someone did! And the patch basically matches yours including whitespace.
Robert _please_ attribute your sources more carefully.
Anton - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |