First patch

2018-08-02 Thread Arkadiusz Lis
Hi guys, I created my first patch. Could you please take a look and check for mistakes? It's a small clean up removing checkpatch.pl warnings. It was generated using 'git format-patch master..'. See below: >From 231fa77d595536cdaacf364b02dd64fd45a6adc4 Mon Sep 17 00:00:00 2001 From: Arkadiusz

Re: Sharing memory between two kernel module - Better approach

2018-08-02 Thread valdis . kletnieks
On Thu, 02 Aug 2018 23:12:23 +0530, Abhinav Misra said: > I want to know is there any alternative for sharing the memory between two > modules. Why are two modules trying to share memory? In general, each module should be managing its own data objects. If two modules need to share, maybe it

Sharing memory between two kernel module - Better approach

2018-08-02 Thread Abhinav Misra
Hi, I want to know is there any alternative for sharing the memory between two modules. The approach which I can think of is taking a global pointer, using kmalloc and assigning start of memory to the global pointer and then in 2nd module use extern for using the same pointer. Is there any

[no subject]

2018-08-02 Thread TU PHUNG VAN
S.ư www ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies