LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can PIPE_BUF constant in linux/limits.h be changes ? (https://www.linuxquestions.org/questions/linux-newbie-8/can-pipe_buf-constant-in-linux-limits-h-be-changes-197611/)

ayb 06-25-2004 10:13 AM

Can PIPE_BUF constant in linux/limits.h be changes ?
 
I am trying to find out if there is a way to change the PIPE_BUF constant defined
in linux/limits.h to increase the number of bytes allowed for atomic writes to a pipe.

Would this have any adverse effect on linux kernel 2.6 since it is preemtive ?

foo_bar_foo 06-25-2004 10:48 AM

i am far from competant to be addressing this so please consider the reality i am possibly all wrong !
i think you certainly couldn't change that without recompiling
glibc (thats where that symbol would reside i think) and certainly you would have to change it in the currently running kernel source and recompile the kernel as well
then of course you would have to recompile anything else that picked that up at compile time
and has it hardcoded in...
as far as runtime troubles in the kernel i think it's one of those try it and see kind of things


All times are GMT -5. The time now is 05:40 AM.