 VM 10 ,       -
-  .     
    mmap ()      -
-  .   ,   , 
       core .  VM_RE SERVED -
,        .    -
      -  .

 VM_SEQ_READ   ,    -
 (..   )    -
.          
  (read-ahead)   .  VM_RAND_READ
 , ..       -
   (..  ).     -
        
.        madvice () 
   MADV_SEQUENTIAL  MADV_RANDOM   -
.         -
 ,   ,    ,   
   .     , 
  .     
 ,      .

   

 vm_ops  vm_area_struct     -
,           
    VMA.  vm area_struct   -
       ,    -
   ,       -
  .

      vm_operations struct,
    <linux/mm.h>  .

struct vm_operations_struct {

void (*open) (struct vm area struct *);

void (*close) (struct vm area struct *);

struct page * (*nopage) (struct vm_area_struct *, unsigned long, int) ;

int (*populate) (struct vm area struct *, unsigned long,
unsigned long, pgprot t, unsigned long, int);

};

    .

 void open(struct vm_area_struct *area)

  ,      
 .

 void close(struct vm_area_struct *area)

  ,      
 .

   319