On Thu, 3 Sep 1998, Glynn Clements wrote:

>
>SookYoung Kim wrote:
>
>> Could you someone tell me what memcpy_tofs is and how I use that
>> function ?
>
>It's defined in asm-<arch>/segment.h. On i386, it's a macro which
>is defined as:
>
>#define memcpy_tofs(to, from, n) \
>(__builtin_constant_p(n) ? \
> __constant_memcpy_tofs((to),(from),(n)) : \
> __generic_memcpy_tofs((to),(from),(n)))
>
>Both of these functions are also defined in asm-i386.h, as inline
>functions.

And more important it swapin eventually swapped out user space memory
before write (in 2.1.x this process is improved using paging).

Andrea[s] Arcangeli

Reply via email to