* Application no longer needs these pages. If the pages are dirty,
* it's OK to just throw them away. The app will be more careful about
* data it wants to keep. Be sure to free swap resources too. The
* Application no longer needs these pages. If the pages are dirty,
* it's OK to just throw them away. The app will be more careful about
* data it wants to keep. Be sure to free swap resources too. The
* these pages later if no one else has touched them in the meantime,
* although we could add these pages to a global reuse list for
* these pages later if no one else has touched them in the meantime,
* although we could add these pages to a global reuse list for
*
* NB: This interface discards data rather than pushes it out to swap,
* as some implementations do. This has performance implications for
*
* NB: This interface discards data rather than pushes it out to swap,
* as some implementations do. This has performance implications for
* -EBADF - map exists, but area maps something that isn't a file.
* -EAGAIN - a kernel resource was temporarily unavailable.
*/
* -EBADF - map exists, but area maps something that isn't a file.
* -EAGAIN - a kernel resource was temporarily unavailable.
*/
-asmlinkage long sys_madvise(unsigned long start, size_t len_in, int behavior)
+SYSCALL_DEFINE3(madvise, unsigned long, start, size_t, len_in, int, behavior)