On Sun, Aug 20, 2017 at 09:24:09AM +0100, Okash Khawaja wrote:
> Hi,
>
> Is there a way to load a kernel module from another module and pass
> parameters to it? Something like
>
> request_module("mymod param1=val1");
I think this is exactly what you are looking for:
from include/linux/kmod.h
On Wed, Apr 20, 2016 at 06:17:38AM +, Nijam Haider wrote:
> i was going through the code leds-gpio.c.
> i found a function "platform_gpio_blink_set" declared under private data of
> "gpio_led_data",and was trying to get through this function. But hardly i can
> find any link to definition
On Mon, Apr 18, 2016 at 12:18:00PM +0530, Nitin Varyani wrote:
> Linux kernel development by Robert Love describes the fork process as
>
> fork() -> clone() -> do_fork() -> copy_process()
>
> I am unable to find the clone() system call in linux 3.13.
> Can someone explain the proper flow of
On Tue, Mar 15, 2016 at 07:29:59PM +0530, Chetan Nanda wrote:
> On 15-Mar-2016 7:19 pm, "Cihangir Akturk" <cakt...@gmail.com> wrote:
> >
> > On Thu, Mar 10, 2016 at 02:59:31PM +0530, Chetan Nanda wrote:
> > > Hi,
> > >
> > > As per b
On Thu, Mar 10, 2016 at 02:59:31PM +0530, Chetan Nanda wrote:
> Hi,
>
> As per book (Linux kernel development)
>
> "Whoever locked a mutex must unlock it.That is, you cannot lock a mutex in one
> context and then unlock it in another
> "
> but 'mutex_unlock' code is not checking the owner field
On Fri, Feb 26, 2016 at 06:13:02PM +0800, Nan Xiao wrote:
> Hi all,
>
> I find there is a flags file under
> /proc/sys/kernel/sched_domain/cpu$/domain$ directory,
> but can't figure out the meaning of this file:
>
> # cat flags
> 687
>
> Could anyone tell me where I can find the definition of
On Wed, Feb 10, 2016 at 11:40:44AM -0200, Victor Detoni wrote:
> Hi all,
>
> I'm working for a network security prototype and I would like to know the
> best way to read diferent configs from the memory, for example:
>
> My program will receive many pkts from network interface and it needs to
>
On Tue, Mar 03, 2015 at 12:08:41PM +0530, Chinmay V S wrote:
On Tue, Mar 3, 2015 at 11:51 AM, John de la Garza j...@jjdev.com wrote:
On Sat, Feb 28, 2015 at 10:12:23PM +0200, Cihangir Akturk wrote:
Reading the lib/llist.c file in the kernel sources, I came across
the llist_add_bach function
Reading the lib/llist.c file in the kernel sources, I came across
the llist_add_bach function defined like this;
bool llist_add_batch(struct llist_node *new_first, struct llist_node *new_last,
struct llist_head *head)
{
struct llist_node *first;
do {