So the idea has already been announced. It is better to send a patch
with the suggested "fix" for list stuff. No? :)
Thanks
On Wed, Nov 24, 2010 at 2:53 PM, piyush moghe wrote:
> I am also interested.
>
> Regards,
> Piyush
>
> On Mon, Nov 22, 2010 at 6:39 PM, Kaspter Ju wrote:
>>
>> On 11/21/20
This functions are helpers for the generic link layers(L2) params setup.
For example:
/**
* ether_setup - setup Ethernet network device
* @dev: network device
* Fill in the fields of the device structure with Ethernet-generic values.
*/
void ether_setup(struct net_device *dev)
{
dev->
There are many good examples in drivers/net.
drivers/net/pci-skeleton.c for example. I think that it is a not big
problem to compare the text from the link with the current state of
the device drivers.
On Wed, Nov 3, 2010 at 9:42 AM, Tapas Mishra wrote:
> On Wed, Nov 3, 2010 at 8:19 AM, Mulyadi S
Right,
task list traversal must be performed under a tasklist_lock.
On Sun, Oct 24, 2010 at 8:03 PM, Juan Rafael Garcia Blanco
wrote:
> Hi,
> I'm just traversing the process chain, but I'm not sure if I should protect
> this traverse by disabling some interrupts or doing something. I mean, some
You can start reading the source code.
drivers/platform/x86/asus-laptop.c for example
On Mon, Oct 11, 2010 at 11:47 AM, Ali Polatel wrote:
> On Sun, 10 Oct 2010 23:43:24 +0700, Mulyadi Santosa
> wrote:
>> Hi Ali...
>>
>> On Sun, Oct 10, 2010 at 23:09, Ali Polatel wrote:
>> > Well xbacklight do
I think that you could _try_ to ask in netfilter-devel and netdev
about this.
2010/10/6 Łukasz Czyż :
> Hello!
>
> I am looking for advice. I have to write some programming project that
> is connected with IPv6 and I decided to do something for Linux (as I
> learn Linux kernel actually it would be
Read the following post with a great explanation of the
__builtin_expect feature.
http://linuxkernelpanic.blogspot.com/2010/06/using-static-branch-prediction-with-gcc.html
On Sat, Aug 28, 2010 at 8:51 PM, James Bond wrote:
> Hi,
> before asking this question I had googled
> http://www.google.co.i
On Tue, Jun 29, 2010 at 4:06 PM, Peter Teoh wrote:
> https://www.redhat.com/promo/summit/2010/presentations/
>
Nice papers. Thanks for the link.
--
Regards,
Denis
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecar...@nl.linux.org
Please read the FAQ at ht
You can start _reading_ netdev mailing list if you want to
track/__understand__ recent changes in networking.
As Eric Dumazet wrote:
>>> I suggest you read the last patches (say .. about 10.000 of them), to
>>> have an idea of things we did during last years.
>>>
>>> keywords : RCU, multiqueue, RPS
o you're looking for?
>
> On Mon, Jun 14, 2010 at 1:26 PM, Denis Kirjanov wrote:
>> Please, provide more info about your device.
>> We can't tell you more unless you provide more detailed info.
>> On Mon, Jun 14, 2010 at 6:24 PM, Noam Postavsky wrote:
>>>
Please, provide more info about your device.
We can't tell you more unless you provide more detailed info.
On Mon, Jun 14, 2010 at 6:24 PM, Noam Postavsky wrote:
> I have a netbook which apparently isn't one those linux supports
> dimming for. How difficult would it be to add support?
>
> Noam
>
>
Yeah, schedule() (and __sched prefixed) function call needed when we are
waiting for some events. It would de wasteful to lose CPU cycles while
checking condition what we are waiting for. So, instead we can just to tell
the kernel to switch to another task, and wake up our task when waiting
conditi
Recently there are too many messages not related to the Linux kernel topic.
And this is a bad sign :/
On Thu, Feb 18, 2010 at 7:04 PM, Mulyadi Santosa
wrote:
> On Thu, Feb 18, 2010 at 4:24 PM, Krushnaal Pai
> wrote:
> > Anybody got any full sample ieee papers/abstracts?... Plz
>
Very useful place about general networking
http://www.linuxfoundation.org/collaborate/workgroups/networking.
--
Regards,
Denis
I think that you can use one of the functions from include/linux/pid.h like
this one:
struct pid *find_pid_ns(int nr, struct pid_namespace *ns)
292{
293struct hlist_node *elem;
294struct upid *pnr;
295
296hlist_for_each_entry_rcu(pnr, elem,
297&
>
> Just did a comparison test but it tells me otherwise. But I'm not sure if
> the test case if correct, can someone improve it?
> On a 64bit CentOS:
> [r...@yyan ~]# more test.c
> #include
>
> int main ()
> {
>printf ("%d\n", sizeof(int));
>return 0;
> }
> [r...@yyan ~]# gcc test.c
> [r.
Sure, http://lwn.net/Articles/274695/
On Wed, Oct 14, 2009 at 12:09 PM, Leonidas . wrote:
> Hi List,
>
> I am aware of in_interrupt() call which can be used to check current
> context and take action accordingly.
>
> Is there any api which can help figure out whether we are executing
> while hol
Hello dear all!
Suppose, we have the following pseudo code:
spin_lock(&some_lock);
some_func();
spin_unlock(&some_lock);
some_fun()
{
.
wake_up_interruptibe_sync(&wait_queue);
}
Is this correct behavior or not?
This is a call chain:
wake_up_interruptible_sync ---> wake_up_s
>
> Interesting. I've previously used 2G/2G split (some years ago, before 64b
>> was prevalent) quite a bit and never needed to recompile existing binaries
>> and libraries on the distro, and never had issues. Perhaps the default
>> addresses are quite low (well below 2G)? Also, how does ASLR (
>>
On Tue, Oct 6, 2009 at 7:34 AM, Rajat Jain wrote:
> Hi List,
>
> I found that there are some weird looking instances in kernel where a
> function has been DEFINED (as opposite to DECLARED) using and "extern"
> keyword. For e.g., the following code in arch/alpha/include/asm/io.h:
>
> extern inline
On Thu, Sep 24, 2009 at 3:23 PM, CP YEH wrote:
> Thank you very much for your answer. If you don't mind, let me ask you
> little bit further.
>
> I can see from the code that stack is being shared by different
> threads and what I am curious about is the way kernel manages this.
> In other words,
e Newly
> Introduced Boot Tracer
> February 13, 2009 (23MB)
>MP3 Download
> (
> https://linuxlink.timesys.com/files/podcasts/mp3/Episode_040_LinuxLink_Radio.mp3
> )
>OGG Vorbis Download
>
>
>
> On Fri, Sep 11, 2009 at 12:29 PM, Denis Kirjanov
> wrote:
>
Did not know about this feature :/ But thx!, I'll try it
On Fri, Sep 11, 2009 at 7:30 PM, Peter Teoh wrote:
> On Fri, Sep 11, 2009 at 2:25 PM, Denis Kirjanov
> wrote:
> > Hi dear list.
> > I encountered the following problem: from time to time I see a delay when
>
Hi dear list.
I encountered the following problem: from time to time I see a delay when
booting the kernel (~30s). It doesn't happen regularly.
I would like to ask you for advice as to what may be the reason for such
behavior?
Latter on I can attach kernel boot log and config.
--
Regards,
Denis
On Fri, Jul 31, 2009 at 8:43 AM, Andy Dalton wrote:
> Denis,
>
> You have a race condition. If the parent process gets scheduled first and
> executes the pause() before the child runs and sends the SIGUSR1 signal, you
> get the behavior you're expecting. However, if the child gets scheduled
> fir
Good times.
Look at the code. What do you think will be the result?
#include
#include
#include
void trap1(int sig)
{
fprintf(stderr, "signal\n");
}
int main()
{
int stat;
signal(SIGUSR1, trap1);
if (fork()) {
pause();
wait(&stat)
On Sun, Mar 8, 2009 at 2:00 PM, yogeshwar sonawane wrote:
> Thank daniel.
>
> How to know such limit ? some kernel info is available ?
>
> As i mentioned in my mail, i am using 2.6.9-42.ELsmp kernel
> (RHEL4-update 4,x86_64) on intel platform.
> Other intel node with RHEL4-update 5(2.6.9-55.ELlarg
I have a copy. It's well, but too big)
Recently was published book about TCP/IP stack implementation in Linux:
http://www.amazon.com/Architecture-Design-Implementation-Linux-Practitioners/dp/0470147733/ref=sr_1_3?ie=UTF8&s=books&qid=1231089656&sr=8-3
I think that the book should be good.
--
Reg
Hi!
The function calibrate_delay() from init/main.c comtains the following line:
printk(KERN_CONT "%lu.%02lu BogoMIPS (lpj=%lu)\n",
loops_per_jiffy/(50/HZ),
(loops_per_jiffy/(5000/HZ)) % 100, loops_per_jiffy);
Please explain how bogoMIPS is computed. Why loops_per_jiff
Hi Yousef!
Look at http://www.linuxfoundation.org/en/Net:TODO
--
Regards,
Denis
Hello Ajay.
Also try to start reading the book Linux device drivers. It's free and can
be downloaded from http://lwn.net/Kernel/LDD3/
--
Regards,
Denis
Try to use do_div() function from asm/div64.h
--
Regards,
Denis
I fully agree with Adil.
It would be great to see this in the form of article on
kernelnewbies.orgwebsite.
--
Regards,
Denis
33 matches
Mail list logo