Что означает порядок = 0 в памяти -информационные данные (Заказы являются степенью двух распределений, значит ли это, что страницы не выделялись?)

Как описано здесь .

Следующее сделает эту работу:

inoremap { {}ko
set expandtab
set shiftwidth=4
set smarttab
set autoindent
set smartindent

0
15.04.2021, 22:15
1 ответ

Порядок 0 соответствует одной странице.

page allocation order

The 'order' of a page allocation is it's logarithm to the base 2, and the size of the allocation is 2order, an integral power-of-2 number of pages. 'Order' ranges from from 0 to MAX_ORDER-1.

The smallest - and most frequent - page allocation is 20 or 1 page.

(https://linux-mm.org/PageAllocation#page_allocation_order)

1
28.04.2021, 22:52

Теги

Похожие вопросы