creating two separate device file streams

Post a reply

Confirmation code
Enter the code exactly as it appears. All letters are case insensitive.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Topic review
   

Expand view Topic review: creating two separate device file streams

Re: creating two separate device file streams

Post by support »

Hello,

The organization of device files into read-only, write-only or bidirectional has no impact on performance or otherwise. Under the hood, each direction has an independent transport mechanism, this way or another.

Regards,
Eli

creating two separate device file streams

Post by kevin »

Will using two separate device nodes (O_RDONLY and O_WRONLY) instead of just one device node (O_RDWR) help in improving the bandwidth performance ?

change the use of (/dev/xillybus_read_128 and /dev/xillybus_write_128) to /dev/xillybus_128

I cannot possibly try this out without modifying and recompiling https://github.com/torvalds/linux/blob/master/drivers/char/xillybus/xillybus_core.c#L1861

Would you be able provide your own personal insight into this question ?

Top