Changeset 683 for trunk/kernel/mm/ppm.h
- Timestamp:
- Jan 13, 2021, 12:36:17 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/mm/ppm.h
r656 r683 3 3 * 4 4 * Authors Ghassan Almaless (2008,2009,2010,2011,2012) 5 * Alain Greiner (2016,2017,2018,2019 )5 * Alain Greiner (2016,2017,2018,2019,2020) 6 6 * 7 7 * Copyright (c) UPMC Sorbonne Universites … … 57 57 * the "buddy" algorithm. 58 58 * The local threads can access these free_lists by calling the ppm_alloc_pages() and 59 * ppm_free_page() functions, butthe remote threads can access the same free lists,59 * ppm_free_page() functions, and the remote threads can access the same free lists, 60 60 * by calling the ppm_remote_alloc_pages() and ppm_remote_free_pages functions. 61 61 * Therefore, these free lists are protected by a remote_busy_lock. … … 98 98 * physical pages. It takes the lock protecting the free_lists before register the 99 99 * released page in the relevant free_list. 100 * In normal use, you do not need to call itdirectly, as the recommended way to free100 * In normal use, it should not be called directly, as the recommended way to free 101 101 * physical pages is to call the generic allocator defined in kmem.h. 102 102 *****************************************************************************************
Note: See TracChangeset
for help on using the changeset viewer.