lkml.org 
[lkml]   [1997]   [Feb]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patches in this message
/
Date
From
Subjectcosmetic patches for 2.1.25
Linux 2.1.25 compiled for me with no warnings and is running well.  Could
these patches please be folded in though, to make it look prettier?

--- linux/Documentation/Configure.help.orig Sun Feb 2 09:35:08 1997
+++ linux/Documentation/Configure.help Sun Feb 2 12:02:58 1997
@@ -2359,22 +2359,23 @@

WAN Router
CONFIG_WAN_ROUTER
+
Wide Area Networks (WANs), such as X.25, frame relay and leased
lines, are used to interconnect Local Area Networks (LANs) over vast
distances with data transfer rates significantly higher than those
achievable with commonly used asynchronous modem connections.
Usually, a quite expensive external device called `WAN router' is
- needed to connect to WAN.
- As an alternative, WAN router can be build into Linux kernel.
+ needed to connect to a WAN.
+ As an alternative, WAN routing can be built into the Linux kernel.
With relatively inexpensive WAN interface cards available on the
- market, a perfectly usable router can be built for less than half a
+ market, a perfectly usable router can be built for less than half the
price of an external router. If you have one of those cards (with
appropriate WAN Link Driver) and wish to use your Linux box as a WAN
router, you may say 'Y' to this option. You will also need a
wan-tools package available via FTP (user: anonymous) from
ftp.sangoma.com. Read Documentation/networking/wan-router.txt for
more information.
- WAN router is always built as a module ( = code which can be
+ WAN routing is always built as a module ( = code which can be
inserted in and removed from the running kernel whenever you want).
For general information about modules read Documentation/modules.txt.

@@ -2390,7 +2391,7 @@
Sangoma WANPIPE(tm) multiprotocol cards
CONFIG_VENDOR_SANGOMA
WANPIPE from Sangoma Technologies Inc. (http://www.sangoma.com)
- is a family of intelligent multiprotocol WAN adapter with data
+ is a family of intelligent multiprotocol WAN adapters with data
transfer rates up to T1 (1.544 Mbps). They are also known as
Synchronous Data Link Adapters (SDLA) and designated S502E(A), S503
or S508. If you have one of these cards, say 'Y' to this option.
--- linux-2.1.23-dist/net/ipv4/tcp_ipv4.c Sun Jan 26 10:55:15 1997
+++ linux/net/ipv4/tcp_ipv4.c Sun Jan 26 10:58:35 1997
@@ -640,7 +640,7 @@
if (sk->ack_backlog >= sk->max_ack_backlog ||
tcp_v4_syn_filter(sk, skb, saddr))
{
- printk(KERN_DEBUG "droping syn ack:%d max:%d\n",
+ printk(KERN_DEBUG "dropping syn ack:%d max:%d\n",
sk->ack_backlog, sk->max_ack_backlog);
#ifdef CONFIG_IP_TCPSF
tcp_v4_random_drop(sk);
---------- Forwarded message ----------
Date: Mon, 2 Dec 1996 20:41:55 +0300 (IST)
From: Gadi Oxman <gadio@netvision.net.il>
To: Erik Andersen <andersee@et.byu.edu>
Cc: linux-kernel@vger.rutgers.edu
Subject: Re: Fwd: [patch / 2.1.10] Kswapd cosmetic bug

Hi,

On Mon, 2 Dec 1996, Erik Andersen wrote:

> I am wondering why this patch, dated 16 Nov, never made it into the kernel?
> It fixes a real ugly cosmetic bug that has been bothering me for some
> time now. This keeps the message from the initialization of kswapd from
> mangling the partition check message for people using _MODULES_. People
> not using modules do not have this problem. The following from my machine's
> boot-up messages demonstrates the problem:
>
> Partition check:
> -----> hda:Started kswapd v 1.4.2.2
> hda1 hda3 hda4 < hda5 >
> hdc: hdc1 hdc2

This happens on the first sleeping, as schedule() will start the kernel
thread which was launched prior to setup().

As drivers can sleep during initialization, perhaps it is better to launch
the threads a bit latter in init/main.c ?

Probably doesn't matter now, but this way the threads will be initialized
at the same point on each system, and aside from automatically fixing the
cosmetic message above, it may solve a real race one day.

Gadi

[I'm not familiar with SMP - perhaps even after smp_begin() ?]

--- linux/init/main.c~ Mon Dec 2 20:36:49 1996
+++ linux/init/main.c Mon Dec 2 20:36:50 1996
@@ -917,10 +917,6 @@
int real_root_mountflags;
#endif

- /* Launch bdflush from here, instead of the old syscall way. */
- kernel_thread(bdflush, NULL, 0);
- /* Start the background pageout daemon. */
- kernel_thread(kswapd, NULL, 0);

#ifdef CONFIG_BLK_DEV_INITRD
real_root_dev = ROOT_DEV;
@@ -929,6 +925,11 @@
else mount_initrd =0;
#endif
setup();
+
+ /* Launch bdflush from here, instead of the old syscall way. */
+ kernel_thread(bdflush, NULL, 0);
+ /* Start the background pageout daemon. */
+ kernel_thread(kswapd, NULL, 0);

#ifdef __SMP__
/*
___
Trevor Johnson <trevor@jpj.net>


\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.167 / U:0.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site