Re: [patch] remove sys_set_zone_reclaim()

From: Andrew Morton
Date: Mon Aug 01 2005 - 12:31:50 EST


Ingo Molnar <mingo@xxxxxxx> wrote:
>
> the patch below removes sys_set_zone_reclaim() for now.

Probably the right thing to do.

> ...
> Firstly, the syscall lacks basic syscall design: e.g. it allows the
> global setting of VM policy for unprivileged users. (!)

Martin sent a patch to make it CAP_SYS_ADMIN-only.

> We could perhaps add a CAP_SYS_ADMIN-only sysctl for this hack,

That would be more appropriate.

(I'm still not sure what happened to the idea of adding a call to "clear
out this node+zone's pagecache now" rather than "set this noed+zone's
policy")
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/