Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
78035b3b
Commit
78035b3b
authored
Jan 04, 2005
by
Len Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge intel.com:/home/lenb/bk/linux-2.6.10
into intel.com:/home/lenb/src/26-stable-dev
parents
384263dc
f60fd965
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
21 additions
and
63 deletions
+21
-63
Makefile
Makefile
+1
-1
arch/i386/Makefile
arch/i386/Makefile
+5
-5
drivers/block/cfq-iosched.c
drivers/block/cfq-iosched.c
+1
-46
drivers/input/evdev.c
drivers/input/evdev.c
+2
-2
drivers/input/joydev.c
drivers/input/joydev.c
+2
-2
drivers/input/mousedev.c
drivers/input/mousedev.c
+2
-2
drivers/input/tsdev.c
drivers/input/tsdev.c
+5
-5
fs/reiserfs/inode.c
fs/reiserfs/inode.c
+2
-0
include/linux/swap.h
include/linux/swap.h
+1
-0
No files found.
Makefile
View file @
78035b3b
VERSION
=
2
PATCHLEVEL
=
6
SUBLEVEL
=
10
EXTRAVERSION
=
-rc3
EXTRAVERSION
=
NAME
=
Woozy Numbat
# *DOCUMENTATION*
...
...
arch/i386/Makefile
View file @
78035b3b
...
...
@@ -32,17 +32,17 @@ cflags-$(CONFIG_M586) += -march=i586
cflags-$(CONFIG_M586TSC)
+=
-march
=
i586
cflags-$(CONFIG_M586MMX)
+=
$(
call
cc-option,-march
=
pentium-mmx,-march
=
i586
)
cflags-$(CONFIG_M686)
+=
-march
=
i686
cflags-$(CONFIG_MPENTIUMII)
+=
$(
call
cc-option,-march
=
pentium2,-march
=
i686
)
cflags-$(CONFIG_MPENTIUMIII)
+=
$(
call
cc-option,-march
=
pentium3,-march
=
i686
)
cflags-$(CONFIG_MPENTIUMM)
+=
$(
call
cc-option,-march
=
pentium3,-march
=
i686
)
cflags-$(CONFIG_MPENTIUM4)
+=
$(
call
cc-option,-march
=
pentium4,-march
=
i686
)
cflags-$(CONFIG_MPENTIUMII)
+=
-march
=
i686
$(
call
cc-option,-mtune
=
pentium2
)
cflags-$(CONFIG_MPENTIUMIII)
+=
-march
=
i686
$(
call
cc-option,-mtune
=
pentium3
)
cflags-$(CONFIG_MPENTIUMM)
+=
-march
=
i686
$(
call
cc-option,-mtune
=
pentium3
)
cflags-$(CONFIG_MPENTIUM4)
+=
-march
=
i686
$(
call
cc-option,-mtune
=
pentium4
)
cflags-$(CONFIG_MK6)
+=
-march
=
k6
# Please note, that patches that add -march=athlon-xp and friends are pointless.
# They make zero difference whatsosever to performance at this time.
cflags-$(CONFIG_MK7)
+=
$(
call
cc-option,-march
=
athlon,-march
=
i686
$(align)
-functions
=
4
)
cflags-$(CONFIG_MK8)
+=
$(
call
cc-option,-march
=
k8,
$(
call
cc-option,-march
=
athlon,-march
=
i686
$(align)
-functions
=
4
))
cflags-$(CONFIG_MCRUSOE)
+=
-march
=
i686
$(align)
-functions
=
0
$(align)
-jumps
=
0
$(align)
-loops
=
0
cflags-$(CONFIG_MEFFICEON)
+=
$(
call
cc-option,-march
=
pentium3,-march
=
i686
)
$(align)
-functions
=
0
$(align)
-jumps
=
0
$(align)
-loops
=
0
cflags-$(CONFIG_MEFFICEON)
+=
-march
=
i686
$(
call
cc-option,-mtune
=
pentium3
)
$(align)
-functions
=
0
$(align)
-jumps
=
0
$(align)
-loops
=
0
cflags-$(CONFIG_MWINCHIPC6)
+=
$(
call
cc-option,-march
=
winchip-c6,-march
=
i586
)
cflags-$(CONFIG_MWINCHIP2)
+=
$(
call
cc-option,-march
=
winchip2,-march
=
i586
)
cflags-$(CONFIG_MWINCHIP3D)
+=
$(
call
cc-option,-march
=
winchip2,-march
=
i586
)
...
...
drivers/block/cfq-iosched.c
View file @
78035b3b
...
...
@@ -93,11 +93,6 @@ enum {
static
char
*
cfq_key_types
[]
=
{
"pgid"
,
"tgid"
,
"uid"
,
"gid"
,
NULL
};
/*
* spare queue
*/
#define CFQ_KEY_SPARE (~0UL)
static
kmem_cache_t
*
crq_pool
;
static
kmem_cache_t
*
cfq_pool
;
static
kmem_cache_t
*
cfq_ioc_pool
;
...
...
@@ -1234,19 +1229,6 @@ __cfq_get_queue(struct cfq_data *cfqd, unsigned long key, int gfp_mask)
return
cfqq
;
}
static
struct
cfq_queue
*
cfq_get_queue
(
struct
cfq_data
*
cfqd
,
unsigned
long
key
,
int
gfp_mask
)
{
request_queue_t
*
q
=
cfqd
->
queue
;
struct
cfq_queue
*
cfqq
;
spin_lock_irq
(
q
->
queue_lock
);
cfqq
=
__cfq_get_queue
(
cfqd
,
key
,
gfp_mask
);
spin_unlock_irq
(
q
->
queue_lock
);
return
cfqq
;
}
static
void
cfq_enqueue
(
struct
cfq_data
*
cfqd
,
struct
cfq_rq
*
crq
)
{
crq
->
is_sync
=
0
;
...
...
@@ -1433,14 +1415,8 @@ static int cfq_set_request(request_queue_t *q, struct request *rq, int gfp_mask)
spin_lock_irqsave
(
q
->
queue_lock
,
flags
);
cfqq
=
__cfq_get_queue
(
cfqd
,
cfq_hash_key
(
cfqd
,
current
),
gfp_mask
);
if
(
!
cfqq
)
{
#if 0
cfqq = cfq_get_queue(cfqd, CFQ_KEY_SPARE, gfp_mask);
printk("%s: got spare queue\n", current->comm);
#else
if
(
!
cfqq
)
goto
out_lock
;
#endif
}
repeat:
if
(
cfqq
->
allocated
[
rw
]
>=
cfqd
->
max_queued
)
...
...
@@ -1495,21 +1471,10 @@ static int cfq_set_request(request_queue_t *q, struct request *rq, int gfp_mask)
static
void
cfq_put_cfqd
(
struct
cfq_data
*
cfqd
)
{
request_queue_t
*
q
=
cfqd
->
queue
;
struct
cfq_queue
*
cfqq
;
if
(
!
atomic_dec_and_test
(
&
cfqd
->
ref
))
return
;
/*
* kill spare queue, getting it means we have two refences to it.
* drop both
*/
spin_lock_irq
(
q
->
queue_lock
);
cfqq
=
__cfq_get_queue
(
cfqd
,
CFQ_KEY_SPARE
,
GFP_ATOMIC
);
cfq_put_queue
(
cfqq
);
cfq_put_queue
(
cfqq
);
spin_unlock_irq
(
q
->
queue_lock
);
blk_put_queue
(
q
);
mempool_destroy
(
cfqd
->
crq_pool
);
...
...
@@ -1526,7 +1491,6 @@ static void cfq_exit_queue(elevator_t *e)
static
int
cfq_init_queue
(
request_queue_t
*
q
,
elevator_t
*
e
)
{
struct
cfq_data
*
cfqd
;
struct
cfq_queue
*
cfqq
;
int
i
;
cfqd
=
kmalloc
(
sizeof
(
*
cfqd
),
GFP_KERNEL
);
...
...
@@ -1559,13 +1523,6 @@ static int cfq_init_queue(request_queue_t *q, elevator_t *e)
cfqd
->
queue
=
q
;
atomic_inc
(
&
q
->
refcnt
);
/*
* setup spare failure queue
*/
cfqq
=
cfq_get_queue
(
cfqd
,
CFQ_KEY_SPARE
,
GFP_KERNEL
);
if
(
!
cfqq
)
goto
out_spare
;
/*
* just set it to some high value, we want anyone to be able to queue
* some requests. fairness is handled differently
...
...
@@ -1586,8 +1543,6 @@ static int cfq_init_queue(request_queue_t *q, elevator_t *e)
cfqd
->
cfq_back_penalty
=
cfq_back_penalty
;
return
0
;
out_spare:
mempool_destroy
(
cfqd
->
crq_pool
);
out_crqpool:
kfree
(
cfqd
->
cfq_hash
);
out_cfqhash:
...
...
drivers/input/evdev.c
View file @
78035b3b
...
...
@@ -91,8 +91,6 @@ static int evdev_flush(struct file * file)
static
void
evdev_free
(
struct
evdev
*
evdev
)
{
devfs_remove
(
"input/event%d"
,
evdev
->
minor
);
class_simple_device_remove
(
MKDEV
(
INPUT_MAJOR
,
EVDEV_MINOR_BASE
+
evdev
->
minor
));
evdev_table
[
evdev
->
minor
]
=
NULL
;
kfree
(
evdev
);
}
...
...
@@ -441,6 +439,8 @@ static void evdev_disconnect(struct input_handle *handle)
{
struct
evdev
*
evdev
=
handle
->
private
;
class_simple_device_remove
(
MKDEV
(
INPUT_MAJOR
,
EVDEV_MINOR_BASE
+
evdev
->
minor
));
devfs_remove
(
"input/event%d"
,
evdev
->
minor
);
evdev
->
exist
=
0
;
if
(
evdev
->
open
)
{
...
...
drivers/input/joydev.c
View file @
78035b3b
...
...
@@ -143,9 +143,7 @@ static int joydev_fasync(int fd, struct file *file, int on)
static
void
joydev_free
(
struct
joydev
*
joydev
)
{
devfs_remove
(
"input/js%d"
,
joydev
->
minor
);
joydev_table
[
joydev
->
minor
]
=
NULL
;
class_simple_device_remove
(
MKDEV
(
INPUT_MAJOR
,
JOYDEV_MINOR_BASE
+
joydev
->
minor
));
kfree
(
joydev
);
}
...
...
@@ -466,6 +464,8 @@ static void joydev_disconnect(struct input_handle *handle)
{
struct
joydev
*
joydev
=
handle
->
private
;
class_simple_device_remove
(
MKDEV
(
INPUT_MAJOR
,
JOYDEV_MINOR_BASE
+
joydev
->
minor
));
devfs_remove
(
"input/js%d"
,
joydev
->
minor
);
joydev
->
exist
=
0
;
if
(
joydev
->
open
)
...
...
drivers/input/mousedev.c
View file @
78035b3b
...
...
@@ -329,8 +329,6 @@ static int mousedev_fasync(int fd, struct file *file, int on)
static
void
mousedev_free
(
struct
mousedev
*
mousedev
)
{
devfs_remove
(
"input/mouse%d"
,
mousedev
->
minor
);
class_simple_device_remove
(
MKDEV
(
INPUT_MAJOR
,
MOUSEDEV_MINOR_BASE
+
mousedev
->
minor
));
mousedev_table
[
mousedev
->
minor
]
=
NULL
;
kfree
(
mousedev
);
}
...
...
@@ -640,6 +638,8 @@ static void mousedev_disconnect(struct input_handle *handle)
{
struct
mousedev
*
mousedev
=
handle
->
private
;
class_simple_device_remove
(
MKDEV
(
INPUT_MAJOR
,
MOUSEDEV_MINOR_BASE
+
mousedev
->
minor
));
devfs_remove
(
"input/mouse%d"
,
mousedev
->
minor
);
mousedev
->
exist
=
0
;
if
(
mousedev
->
open
)
{
...
...
drivers/input/tsdev.c
View file @
78035b3b
...
...
@@ -177,8 +177,6 @@ static int tsdev_open(struct inode *inode, struct file *file)
static
void
tsdev_free
(
struct
tsdev
*
tsdev
)
{
devfs_remove
(
"input/ts%d"
,
tsdev
->
minor
);
class_simple_device_remove
(
MKDEV
(
INPUT_MAJOR
,
TSDEV_MINOR_BASE
+
tsdev
->
minor
));
tsdev_table
[
tsdev
->
minor
]
=
NULL
;
kfree
(
tsdev
);
}
...
...
@@ -429,6 +427,9 @@ static void tsdev_disconnect(struct input_handle *handle)
{
struct
tsdev
*
tsdev
=
handle
->
private
;
class_simple_device_remove
(
MKDEV
(
INPUT_MAJOR
,
TSDEV_MINOR_BASE
+
tsdev
->
minor
));
devfs_remove
(
"input/ts%d"
,
tsdev
->
minor
);
devfs_remove
(
"input/tsraw%d"
,
tsdev
->
minor
);
tsdev
->
exist
=
0
;
if
(
tsdev
->
open
)
{
...
...
@@ -436,7 +437,6 @@ static void tsdev_disconnect(struct input_handle *handle)
wake_up_interruptible
(
&
tsdev
->
wait
);
}
else
tsdev_free
(
tsdev
);
devfs_remove
(
"input/tsraw%d"
,
tsdev
->
minor
);
}
static
struct
input_device_id
tsdev_ids
[]
=
{
...
...
fs/reiserfs/inode.c
View file @
78035b3b
...
...
@@ -1449,12 +1449,14 @@ struct dentry *reiserfs_get_dentry(struct super_block *sb, void *vobjp)
key
.
on_disk_key
.
k_objectid
=
data
[
0
]
;
key
.
on_disk_key
.
k_dir_id
=
data
[
1
]
;
reiserfs_write_lock
(
sb
);
inode
=
reiserfs_iget
(
sb
,
&
key
)
;
if
(
inode
&&
!
IS_ERR
(
inode
)
&&
data
[
2
]
!=
0
&&
data
[
2
]
!=
inode
->
i_generation
)
{
iput
(
inode
)
;
inode
=
NULL
;
}
reiserfs_write_unlock
(
sb
);
if
(
!
inode
)
inode
=
ERR_PTR
(
-
ESTALE
);
if
(
IS_ERR
(
inode
))
...
...
include/linux/swap.h
View file @
78035b3b
...
...
@@ -269,6 +269,7 @@ static inline void put_swap_token(struct mm_struct *mm)
#define move_from_swap_cache(p, i, m) 1
#define __delete_from_swap_cache(p)
/*NOTHING*/
#define delete_from_swap_cache(p)
/*NOTHING*/
#define swap_token_default_timeout 0
static
inline
int
remove_exclusive_swap_page
(
struct
page
*
p
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment