public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Anand Ashok Kulkarni" <anand.karni@wipro.com>
To: <linux-kernel@vger.kernel.org>
Subject: Module loading and Kernel crash
Date: Sun, 28 Oct 2001 15:08:35 +0530	[thread overview]
Message-ID: <01bc01c15f95$4b6d88c0$4cb2a8c0@wipro.com> (raw)
In-Reply-To: <20011026013101.A1404@redhat.com> <Pine.GSO.3.96.1011026113847.14048A-100000@delta.ds2.pg.gda.pl> <20011026100346.C1663@redhat.com>

[-- Attachment #1: Type: text/plain, Size: 1853 bytes --]

I have written a module which takes the packet from the kernel, stores some
number of packets and then sends all if them out. But some how the kernel
crashes after working for some time. how can i take care of that. the
enqueing and dequeing functions take action on the same piece of memory.
will using task queues for both of them work ?
I have tried doin it...but even then the kernel konks.:-(




----- Original Message -----
From: "Richard Henderson" <rth@redhat.com>
To: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
Cc: <torvalds@transmeta.com>; <alan@redhat.com>;
<linux-kernel@vger.kernel.org>
Sent: Friday, October 26, 2001 10:33 PM
Subject: Re: alpha 2.4.13: fix taso osf emulation


> On Fri, Oct 26, 2001 at 12:01:10PM +0200, Maciej W. Rozycki wrote:
> >  The following trivial patch reportedly fixes OSF/1 programs using
31-bit
> > addressing.  It's already present in the -ac tree; I guess it just got
> > lost during a merge.  It applies fine to 2.4.13.
>
> This is the patch that Jay Estabrook forwarded me that I rejected
> in favour of writing a special arch_get_unmapped_area.
>
> > It used to do so.  It breaks things such as dynamic linking of shared
> > objects linked at high load address.
>
> Err, how?
>
> > It breaks mmap() in principle, as it shouldn't fail when invoked with
> > a non-zero, non-MAP_FIXED, invalid address if there is still address
> > space available elsewhere.
>
> No, it doesn't.  Or rather, it only does if you only bothered
> to search once.  IMO one should search thrice: once at addr,
> once at TASK_UNMAPPED_BASE, and once at PAGE_SIZE.
>
>
>
> r~
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/


[-- Attachment #2: Wipro_Disclaimer.txt --]
[-- Type: text/plain, Size: 855 bytes --]

-----------------------------------------------------------------------------------------------------------------------
Information transmitted by this E-MAIL is proprietary to Wipro and/or its Customers and
is intended for use only by the individual or entity to which it is
addressed, and may contain information that is privileged, confidential or
exempt from disclosure under applicable law. If you are not the intended
recipient or it appears that this mail has been forwarded to you without
proper authority, you are notified that any use or dissemination of this
information in any manner is strictly prohibited. In such cases, please
notify us immediately at mailto:mailadmin@wipro.com and delete this mail
from your records.
------------------------------------------------------------------------------------------------------------------------

      parent reply	other threads:[~2001-10-28  9:43 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-26  8:31 alpha 2.4.13: fix taso osf emulation Richard Henderson
2001-10-26 10:01 ` Maciej W. Rozycki
2001-10-26 10:45   ` Ivan Kokshaysky
2001-10-26 17:11     ` Richard Henderson
2001-10-29 16:35       ` Ivan Kokshaysky
2001-10-29 17:21         ` Richard Henderson
2001-10-26 17:03   ` Richard Henderson
2001-10-26 18:25     ` Maciej W. Rozycki
2001-10-28  9:38     ` Anand Ashok Kulkarni [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='01bc01c15f95$4b6d88c0$4cb2a8c0@wipro.com' \
    --to=anand.karni@wipro.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox