LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 12-13-2017, 12:40 PM   #1
bagelboy62
LQ Newbie
 
Registered: Dec 2017
Posts: 4

Rep: Reputation: Disabled
Why does fs/buffer.c exist? Didn't the page cache and buffer cache merge in 2.4?


I'm doing some project with the cache and filesystem, but I am confused about where to look. I need to find code regarding the writeback of pages within the page cache. After doing some reading online, I saw that the page cache and buffer cache merged in earlier versions. If so, why does the file fs/buffer.c exist? What is it used for?
 
Old 12-13-2017, 04:57 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,099

Rep: Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117
Good luck ...
Early on in my travels with Linux I though it might be interesting to have a look at the mm code. Drove me to drink. Several times.

Not having looked at that specifically, I would imagine the implementation merged, but the functionality remained - things still need to be tracked. It is notoriously difficult (nay, near impossible) to get changes into the kernel base. Everything else that currently works still has to work, as well as proving what is being introduced is a) useful, and b) does (only) what it is purported to do.
So don't worry about the side issues, concentrate on the real task at hand. There are innumerable ways to get side-tracked in mm.
 
1 members found this post helpful.
Old 12-14-2017, 08:12 AM   #3
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,599
Blog Entries: 4

Rep: Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905
Yep – and I daresay that if you look at the implementation of that particular module across the releases you'll find that it has been rewritten substantially ... but, "it's still there."
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Difference between page cache and buffer cache Nayaka Linux - Kernel 5 09-28-2011 08:23 AM
Buffer cache jeesun Linux - Enterprise 1 10-07-2007 07:29 AM
buffer cache size gsr_kashyap Red Hat 6 09-18-2006 01:15 AM
minix buffer cache computer Linux - General 2 02-10-2006 06:09 AM
file buffer cache jwstric2 Linux - General 2 06-30-2004 04:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 12:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration