search for: page_to_mb_shift

Displaying 1 result from an estimated 1 matches for "page_to_mb_shift".

2004 Jul 16
1
/proc/xen/memory_target patch
...proc_entry("balloon", 0600)) == NULL ) { printk(KERN_ALERT "Unable to create balloon driver proc entry!"); return -1; } balloon_pde->write_proc = balloon_write; return 0; } --- 222,307 ---- return ret; } + #define PAGE_TO_MB_SHIFT 8 + static int balloon_write(struct file *file, const char *buffer, u_long count, void *data) { ! char memstring[64], *endchar; ! int len, i, pages; ! unsigned long long target; /* Only admin can play with the balloon :) */ if ( !capable(CA...