* what is the function of do_softirq() ?
@ 2013-01-15 6:31 horseriver
2013-01-16 10:25 ` Anuz Pratap Singh Tomar
2013-01-16 16:35 ` Kernel documentation shubham
0 siblings, 2 replies; 8+ messages in thread
From: horseriver @ 2013-01-15 6:31 UTC (permalink / raw)
To: kernelnewbies
hi:
what is the function of do_softirq()?
It is called by ksoftirqd() ,which is setup by : kernel_thread(ksoftirqd, hcpu, CLONE_KERNEL) ;
thanks!
^ permalink raw reply [flat|nested] 8+ messages in thread
* what is the function of do_softirq() ?
2013-01-15 6:31 what is the function of do_softirq() ? horseriver
@ 2013-01-16 10:25 ` Anuz Pratap Singh Tomar
2013-01-16 15:20 ` anish kumar
2013-01-16 16:35 ` Kernel documentation shubham
1 sibling, 1 reply; 8+ messages in thread
From: Anuz Pratap Singh Tomar @ 2013-01-16 10:25 UTC (permalink / raw)
To: kernelnewbies
On Tue, Jan 15, 2013 at 6:31 AM, horseriver <horserivers@gmail.com> wrote:
> hi:
>
> what is the function of do_softirq()?
>
> It is called by ksoftirqd() ,which is setup by :
> kernel_thread(ksoftirqd, hcpu, CLONE_KERNEL) ;
>
>
> Please read "Understanding the Linux Kernel" Chapter on Interrupts and
Section on Softirqs and tasklets. Page number 171(might be different in
other editions) onwards.
thanks!
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
--
Thank you
Warm Regards
Anuz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130116/ff995f14/attachment.html
^ permalink raw reply [flat|nested] 8+ messages in thread
* what is the function of do_softirq() ?
2013-01-16 10:25 ` Anuz Pratap Singh Tomar
@ 2013-01-16 15:20 ` anish kumar
0 siblings, 0 replies; 8+ messages in thread
From: anish kumar @ 2013-01-16 15:20 UTC (permalink / raw)
To: kernelnewbies
On Wed, 2013-01-16 at 10:25 +0000, Anuz Pratap Singh Tomar wrote:
>
>
> On Tue, Jan 15, 2013 at 6:31 AM, horseriver <horserivers@gmail.com>
> wrote:
> hi:
>
> what is the function of do_softirq()?
Softirq is basically same as bottom half except it is run in irq
context.So the question which comes to mind is why softirq?Softirqs can
run concurrently on several CPUs and that is why it used in networking.
There are other advantages also but it is mostly use case dependent.
>
> It is called by ksoftirqd() ,which is setup by :
> kernel_thread(ksoftirqd, hcpu, CLONE_KERNEL) ;
ksoftirq is a saviour thread which takes up the execution of softirq if
it finds out that softirq are executing one by one and thereby userspace
is not being scheduled or none of other task is getting executed.As
threads have low priority it lets other tasks run.
>
> Please read "Understanding the Linux Kernel" Chapter on Interrupts and
> Section on Softirqs and tasklets. Page number 171(might be different
> in other editions) onwards.
>
>
>
> thanks!
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>
>
> --
> Thank you
> Warm Regards
> Anuz
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
^ permalink raw reply [flat|nested] 8+ messages in thread
* Kernel documentation
2013-01-15 6:31 what is the function of do_softirq() ? horseriver
2013-01-16 10:25 ` Anuz Pratap Singh Tomar
@ 2013-01-16 16:35 ` shubham
2013-01-16 16:47 ` Anuz Pratap Singh Tomar
2013-01-16 16:57 ` Henrique Rodrigues
1 sibling, 2 replies; 8+ messages in thread
From: shubham @ 2013-01-16 16:35 UTC (permalink / raw)
To: kernelnewbies
Hi All,
I want to know if we have some documentation of kernel which
specifically shows function calls in kernel code (It might be in the
form of flow charts).
I think we can use tools like doxygen.
Is there any work going on this ?
Regards
Shubham
^ permalink raw reply [flat|nested] 8+ messages in thread
* Kernel documentation
2013-01-16 16:35 ` Kernel documentation shubham
@ 2013-01-16 16:47 ` Anuz Pratap Singh Tomar
2013-01-16 17:01 ` Henrique Rodrigues
2013-01-16 16:57 ` Henrique Rodrigues
1 sibling, 1 reply; 8+ messages in thread
From: Anuz Pratap Singh Tomar @ 2013-01-16 16:47 UTC (permalink / raw)
To: kernelnewbies
On Wed, Jan 16, 2013 at 4:35 PM, shubham <kernel.shubham@gmail.com> wrote:
> Hi All,
>
> I want to know if we have some documentation of kernel which
> specifically shows function calls in kernel code (It might be in the
> form of flow charts).
>
> I think we can use tools like doxygen.
> Is there any work going on this ?
>
> This may be bit outdated
http://www.makelinux.net/kernel_map/
> Regards
> Shubham
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
--
Thank you
Warm Regards
Anuz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130116/89252e29/attachment.html
^ permalink raw reply [flat|nested] 8+ messages in thread
* Kernel documentation
2013-01-16 16:35 ` Kernel documentation shubham
2013-01-16 16:47 ` Anuz Pratap Singh Tomar
@ 2013-01-16 16:57 ` Henrique Rodrigues
2013-01-16 19:17 ` Simon
1 sibling, 1 reply; 8+ messages in thread
From: Henrique Rodrigues @ 2013-01-16 16:57 UTC (permalink / raw)
To: kernelnewbies
I think a diagram of function calls would be too much to fit in a
reasonable sized diagram. I'm aware of diagrams of network function calls,
and they are already big.
You can use linux cross referencing (lxr) websites to follow function calls
or download lxr and build the same thing for your own source code.
I think you can also google diagrams of different kernel subsystems to find
useful diagrams.
On Wed, Jan 16, 2013 at 8:35 AM, shubham <kernel.shubham@gmail.com> wrote:
> Hi All,
>
> I want to know if we have some documentation of kernel which
> specifically shows function calls in kernel code (It might be in the
> form of flow charts).
>
> I think we can use tools like doxygen.
> Is there any work going on this ?
>
> Regards
> Shubham
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
--
Henrique Rodrigues
http://www.dcc.ufmg.br/~hsr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130116/f17e47f5/attachment.html
^ permalink raw reply [flat|nested] 8+ messages in thread
* Kernel documentation
2013-01-16 16:57 ` Henrique Rodrigues
@ 2013-01-16 19:17 ` Simon
0 siblings, 0 replies; 8+ messages in thread
From: Simon @ 2013-01-16 19:17 UTC (permalink / raw)
To: kernelnewbies
LXR is truly awesome! 8D
It clearly obsoletes grep for browsing and searching the kernel sources!
Thanks for sharing!
Simon
On Wed, Jan 16, 2013 at 11:57 AM, Henrique Rodrigues
<henriquesilvar@gmail.com> wrote:
> I think a diagram of function calls would be too much to fit in a reasonable
> sized diagram. I'm aware of diagrams of network function calls, and they are
> already big.
>
> You can use linux cross referencing (lxr) websites to follow function calls
> or download lxr and build the same thing for your own source code.
>
> I think you can also google diagrams of different kernel subsystems to find
> useful diagrams.
>
> On Wed, Jan 16, 2013 at 8:35 AM, shubham <kernel.shubham@gmail.com> wrote:
>>
>> Hi All,
>>
>> I want to know if we have some documentation of kernel which
>> specifically shows function calls in kernel code (It might be in the
>> form of flow charts).
>>
>> I think we can use tools like doxygen.
>> Is there any work going on this ?
>>
>> Regards
>> Shubham
>>
>> _______________________________________________
>> Kernelnewbies mailing list
>> Kernelnewbies at kernelnewbies.org
>> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>
>
>
> --
> Henrique Rodrigues
> http://www.dcc.ufmg.br/~hsr
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2013-01-16 19:17 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-15 6:31 what is the function of do_softirq() ? horseriver
2013-01-16 10:25 ` Anuz Pratap Singh Tomar
2013-01-16 15:20 ` anish kumar
2013-01-16 16:35 ` Kernel documentation shubham
2013-01-16 16:47 ` Anuz Pratap Singh Tomar
2013-01-16 17:01 ` Henrique Rodrigues
2013-01-16 16:57 ` Henrique Rodrigues
2013-01-16 19:17 ` Simon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).