linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Jan Hudec <bulb@ucw.cz>
To: Heerappa Hunje <hunjeh@celetron.com>
Cc: William Lee Irwin III <wli@holomorphy.com>,
	kernelnewbies@nl.linux.org, linux-mm@kvack.org
Subject: Re: questions on swapping
Date: Tue, 29 Apr 2003 09:57:29 +0200	[thread overview]
Message-ID: <20030429075729.GA668@vagabond> (raw)
In-Reply-To: <OF48B89A80.1B070B4E-ON65256D16.002A0894@celetron.com>

On Mon, Apr 28, 2003 at 01:24:17PM +0530, Heerappa Hunje wrote:
> 
> Dear William,
> 
> Thanks for the reply and information, well i wanted to know  that how can i
> see the source code of linux when iam working on linux being in the root,
> what pathname name should i type to get to the source code file of linux.

It depends on where you have placed it! If you have installed kernel
from distribution binary package, you have to download it first. If you
have downloaded a source package, query your package manager program. If
you compiled yourself, you should already know.

> 2. if i have the device driver module's source code written for perticular
> device than  where should i store it, so that it will support to my device
> whenever any user seeks it.

If you have it in a form of patch, you apply it using
  patch -p1 <the-patch-file
command in the top-level directory of kernel sources (unless the driver
states otherwise)

If you have sources that already have makefile to compile off-tree, you
can place it anywhere. You just need to tell it where kernel headers
reside (you may or may not need the whole tree - depends on the
particular driver).

If you have just a source without makefile, you may either place them in
kernel (besides other drivers of the same type), modify the Makefiles
and config and compile in kernel tree, or you can write makefile to make
it compile separately.

> 3. During installation of linux, what if i assign the swapping space4 times
> of my present memory size OR less than the present memory size. I mean will
> it have any problems in system performance in both the cases.

Too much swap can not hurt except by wasting your precious disk space.
Linux does not rely on swap space being present at all, so too little
swap won't principialy hurt either. It's just your applications may not
have enough space.

In linux, each page is either in swap or in memory, so you have size of
ram + swap available as virtual memory (part of that is used by kernel
itself)

> 4. what command should i type to know the version of my present OS.

uname -r

-------------------------------------------------------------------------------
						 Jan 'Bulb' Hudec <bulb@ucw.cz>
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>

  reply	other threads:[~2003-04-29  7:57 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-28  7:54 Heerappa Hunje
2003-04-29  7:57 ` Jan Hudec [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-04-29 13:28 Heerappa Hunje
2003-04-29 11:22 Heerappa Hunje
2003-04-29 11:28 ` Jan Hudec
2003-04-29 15:24   ` Randy.Dunlap
2003-04-28  9:37 Heerappa Hunje
2003-04-28  9:47 ` William Lee Irwin III
2003-04-29  8:03 ` Jan Hudec
2003-04-28  9:32 Heerappa Hunje
2003-04-28  7:32 Patwardhan, Aniruddha
2003-04-28  7:16 Heerappa Hunje
2003-04-28  7:26 ` William Lee Irwin III

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=20030429075729.GA668@vagabond \
    --to=bulb@ucw.cz \
    --cc=hunjeh@celetron.com \
    --cc=kernelnewbies@nl.linux.org \
    --cc=linux-mm@kvack.org \
    --cc=wli@holomorphy.com \
    /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