lkml.org 
[lkml]   [2008]   [Jun]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
FromRoland Dreier <>
SubjectRe: [patch 03/11] GRU Driver - driver internal header files
DateMon, 09 Jun 2008 14:38:18 -0700
 > +/*
> + * Structure used to pass TLB flush parameters to the driver
> + */
> +struct gru_flush_tlb_req {
> + unsigned long gseg;
> + unsigned long vaddr;
> + size_t len;
> +};

This and other data structures you pass into the kernel via ioctl() are
not 32/64 clean. So a 32-bit process (which can easily run on a 64-bit
x86-64 kernel) will end up sending garbage to the kernel.


\
 
 \ /
  Last update: 2008-06-09 23:41    [from the cache]
©2003-2010