[openib-general] [PATCH] sdp: set default zcopy threshold by module parameter

Michael S. Tsirkin mst at mellanox.co.il
Tue Sep 6 08:43:48 PDT 2005


Quoting r. Roland Dreier <rolandd at cisco.com>:
> Subject: Re: [openib-general] [PATCH] sdp: set default zcopy threshold by module parameter
> 
>     > +static int sdp_zcopy_thrsh_src_default = SDP_ZCOPY_THRSH_SRC_DEFAULT;
>     > +module_param(sdp_zcopy_thrsh_src_default, int, 0666);
>     > +MODULE_PARM_DESC(sdp_zcopy_thrsh_src_default, "Default ZCopy Threshold for Data Source");
>     > +static int sdp_zcopy_thrsh_snk_default = SDP_ZCOPY_THRSH_SNK_DEFAULT;
>     > +module_param(sdp_zcopy_thrsh_src_default, int, 0666);
>     > +MODULE_PARM_DESC(sdp_zcopy_thrsh_snk_default, "Default ZCopy Threshold for Data Sink");
> 
> 0666 seems like a strange choice of permissions here.  Would it be
> better as 0644?
> 
>  - R.
> 

True. I'll fix that tomorrow.

-- 
MST



More information about the general mailing list