Changeset 632 for trunk/kernel/kern/dqdt.h
- Timestamp:
- May 28, 2019, 2:56:04 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/kern/dqdt.h
r583 r632 105 105 106 106 /**************************************************************************************** 107 * This local function updates the total number of pages in level 0 DQDT node, 108 * and immediately propagates the variation to the DQDT upper levels. 107 * These two functions can be called by any thread running in any cluster. 108 * They increment/decrement the total number of 4 Kbytes pages allocated in a cluster 109 * identified by the <cxy> argument, as specified by the <order> argument. The level 0 110 * DQDT node is udated, and this change is immediately propagated to upper levels. 109 111 * They are called by PPM on each physical memory page allocation or release. 110 112 **************************************************************************************** 111 * @ order : ln2( number of small pages ) 113 * @ cxy : target cluster identifier. 114 * @ order : ln2( number of 4 Kbytes pages ) 112 115 ***************************************************************************************/ 113 void dqdt_increment_pages( uint32_t order ); 114 void dqdt_decrement_pages( uint32_t order ); 116 void dqdt_increment_pages( cxy_t cxy , 117 uint32_t order ); 118 119 void dqdt_decrement_pages( cxy_t cxy, 120 uint32_t order ); 115 121 116 122 /****************************************************************************************
Note: See TracChangeset
for help on using the changeset viewer.