Subject: uvm_advice struct
To: None <tech-kern@netbsd.org>
From: Wojciech Puchar <wojtek@wojtek.3miasto.net>
List: tech-kern
Date: 09/29/2001 09:47:22
netbsd 1.5.2

i've changed values in that struct (in uvm_fault.c) to larger values like
this. looks like some programs loads faster but difference is smaller
than i expected.


but what exactly means nback value??

static struct uvm_advice uvmadvice[] = {
	{ MADV_NORMAL, 32, 31 },
	{ MADV_RANDOM, 0, 0 },
	{ MADV_SEQUENTIAL, 32, 31},
};

#define UVM_MAXRANGE 64 /* must be max() of nback+nforw+1 */