Re: [bigmem-patch] 4GB with Linux on IA32

David S. Miller
1999-08-17T06:29:27Z

For example, on a 2.2.10 kernel:
[kanoj@entity kern]$ gid __va | grep drivers
drivers/char/mem.c:124: if (copy_to_user(buf, __va(p), count))
drivers/char/mem.c:142: return do_write_mem(file, __va(p), p, buf, count, ppos);

Ok, this one could be a problem.

drivers/scsi/sym53c8xx.c:572:#define remap_pci_mem(base, size) ((u_long) __va(base))

Sparc specific ifdef'd code, it doesn't matter for ix86.

drivers/video/creatorfb.c
...
drivers/sbus/char/zs.c

More Sparc specific drivers.

So in essence there are only two spots in mem.c which you might need
to worry about on ix86.

Later,
David S. Miller
davem@redhat.com