mirror of
https://github.com/drasko/codezero.git
synced 2026-02-18 21:03:14 +01:00
Adds reading pages into page-cache in an ordered manner.
Added reading pages from the page cache into user buffer for sys_read. Increases stack sizes to 4 pages. Updated README to include more details about multi-pager environments.
This commit is contained in:
@@ -112,6 +112,9 @@ static inline struct vm_area *find_vma(unsigned long addr,
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* Adds a page to its vmfile's page cache in order of offset. */
|
||||
int insert_page_olist(struct page *this, struct vm_file *f);
|
||||
|
||||
/* Pagers */
|
||||
extern struct vm_pager default_file_pager;
|
||||
extern struct vm_pager boot_file_pager;
|
||||
|
||||
Reference in New Issue
Block a user