ast added a comment.

> The address spaces envisioned by the Linux kernel appear to be more 
> informational and not descriptive of hardware characteristics.

From the kernel pov the `__user` and normal are two different address spaces 
that must be accessed via different kernel primitives.
User access needs stac/clac on x86 and other precautions.
iirc other architectures have co-processor address space that needs its own 
load/store equivalents.
`__percpu` is also different address space. It's roughly equivalent to 
`__thread` in user space.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D69393/new/

https://reviews.llvm.org/D69393



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to