From: Solofo Ramangalahy To disable recomputation when user explicitely set a value, reuse the callback defined for msgmni for msgmnb. As msgmni and msgmnb are correlated, user settings of any of the two disable recomputation of both, for now. This will be refined in a later patch. Signed-off-by: Solofo Ramangalahy --- ipc/ipc_sysctl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Index: b/ipc/ipc_sysctl.c =================================================================== --- a/ipc/ipc_sysctl.c +++ b/ipc/ipc_sysctl.c @@ -210,8 +210,8 @@ static struct ctl_table ipc_kern_table[] .data = &init_ipc_ns.msg_ctlmnb, .maxlen = sizeof (init_ipc_ns.msg_ctlmnb), .mode = 0644, - .proc_handler = proc_ipc_dointvec, - .strategy = sysctl_ipc_data, + .proc_handler = proc_ipc_callback_dointvec, + .strategy = sysctl_ipc_registered_data, }, { .ctl_name = KERN_SEM, -- Solofo Ramangalahy Bull SA. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/