[cffi-devel] [Sbcl-devel] GC write-protected mappings vs. the OS kernel
Juho Snellman
jsnell at iki.fi
Tue Nov 10 15:42:23 UTC 2009
Samium Gromoff <_deepfire at feelingofgreen.ru> writes:
> Good day,
>
> While debugging mysterious ioctl() failures in lh-usb on SBCL,
> I have discovered that using CFFI:WITH-POINTER-TO-VECTOR-DATA
> doesn't guarantee that the vector is in a writable region.
I thought we'd never write protect specialized raw arrays (either they
are in the nursery, or they're tenured into an unboxed region which
never get wpd). And passing generic arrays to ffi doesn't feel right.
What's the use case?
--
Juho Snellman
More information about the cffi-devel
mailing list