Hi
I want to hashmap to store datat in kernel module, how can I do this? Any
existed code?
Thanks
jon
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Hi!
On 21:48 Sun 18 Sep , Mulyadi Santosa wrote:
...
> Fortunately the processor is gettting
> faster and faster and there was a research that concluded that as long
> perceived latency is somewhere under ~250-300 milisecond, you would
> see it as "snappy"
300ms is ok only for few operations,
> Just do:
> modprobe usb_serial vendor=0x product=0x
> with the proper vendor and product ids for your device, then plug it in.
>
> No kernel changes needed at all, just have a pair of bulk in/out
> endpoints and all will work automatically for you.
Thanks Greg, I had thought that
HI,
On Sun, Sep 18, 2011 at 12:12 PM, mindentropy wrote:
> On Monday 19 Sep 2011 12:19:29 AM Dave Hylands wrote:
>
>> The way I normally deal with this is to use 2 indicies, a get index
>> and a put index. One of the indicies if only ever written by kernel
>> space, and the other is only ever wri
On Monday 19 Sep 2011 12:19:29 AM Dave Hylands wrote:
> The way I normally deal with this is to use 2 indicies, a get index
> and a put index. One of the indicies if only ever written by kernel
> space, and the other is only ever written by user space.
>
That is the setup I have now.
>
> You mak
Hi,
On Sun, Sep 18, 2011 at 11:02 AM, mindentropy wrote:
> Hi,
>
> I have mmaped a circular queue buffer created in the kernel. Now I want to
> mmap the read and write pointers in the queue but I am not sure how to
> synchronize the access of the pointers between the kernel and userspace(while
Hi,
I have mmaped a circular queue buffer created in the kernel. Now I want to
mmap the read and write pointers in the queue but I am not sure how to
synchronize the access of the pointers between the kernel and userspace(while
checking sizes for overflow and underflow). How should I go abou
Hi...
This would take us back to the days of comp science bachelor seat :)
On Sun, Sep 18, 2011 at 01:29, Parmenides wrote:
> Hi,
>
> Current kernel 2.6 have adopted the CFS scheduler which try to
> ensure that all process can obtain their proportions of allotted
> processor fairly. I have th