Re: Why are the PAGE_SIZE and the physical page frame size different in x86_64 kernel?

2018-03-30 Thread Hao Lee
> Each entry in a PMD table covers 2M - and either describes a 2M > hugepage, or is a pointer to a table of PTE entries, each of which describes a > 4K page. Many Thanks! This explanation helps me a lot. I didn't know 4KB and 2MB page frames can exist at the same time:) Regards, Hao Lee

Set SO_TCP_NODELAY (disabling the Nagle Algorithm)

2018-03-30 Thread Naruto Nguyen
Hello everyone, As I know we have a socket option SO_TCP_NODELAY to disable Nagle Algorithm, and I found it is implemented in TCP/IP stack at https://elixir.bootlin.com/linux/v4.4.90/source/net/ipv4/tcp.c#L2401 . However, I do not know where the source code the Nagle Algorithm is implemented in

Re: V4l2 Sensor driver and V4l2 ctrls

2018-03-30 Thread valdis . kletnieks
On Fri, 30 Mar 2018 11:38:07 +0530, MUHAMMED ASAD P T said: > In reference sensor drivers, they used the V4L2_CID_DV_RX_POWER_PRESENT v4l2 > ctrl. > It is a standard ctrl and created using v4l2_ctrl_new_std(). > 1. Whether in our sensor driver, we need to create this Control Id or not. > How to

V4l2 Sensor driver and Bridge Driver

2018-03-30 Thread MUHAMMED ASAD P T
Hi All, Need to write the Sensor driver. I have the below doubts: 1. What are the dependencies between the bridge driver and Sensor driver? 2. To write the sensor driver, what are the things, we need to look in bridge driver? 3. What are the Sensor driver functions called from bridge

Need to write the Sensor driver

2018-03-30 Thread MUHAMMED ASAD P T
Hi All, Need to write the Sensor driver. I have the below doubts: 1. What are the dependencies between the bridge driver and Sensor driver? 2. To write the sensor driver, what are the things, we need to look in bridge driver? 3. What are the Sensor driver functions called from bridge

V4l2 Sensor driver and V4l2 ctrls

2018-03-30 Thread MUHAMMED ASAD P T
Hi All, In reference sensor drivers, they used the V4L2_CID_DV_RX_POWER_PRESENT v4l2 ctrl. It is a standard ctrl and created using v4l2_ctrl_new_std(). The doubts are: 1. Whether in our sensor driver, we need to create this Control Id or not. How to take the decision on this. Since