repo.or.cz
/
ksplice.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
Move the definition of ksplice_kcalloc above its use.
2008-09-12
Anders Kaseo
r
g
Move the defi
n
i
t
ion of ksp
l
ice_kcalloc above its use
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Tim
A
bbott
brute_sea
r
ch the core kernel in a
d
di
t
io
n
to mo
d
ules
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
P
r
int out the names
of secti
o
ns that cannot
be match
e
d
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Add debugging output to brute_se
a
rc
h
_
a
l
l_mod
s
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbot
t
Make search_for_m
a
t
c
h succeed if b
r
ut
e
_search_al
l
_m
o
d
s
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Fi
x
a bug where b
r
ute_search only searches at the sta
r
t
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey Brian Arno
l
d
Remove re
d
undant check from
b
rute_search
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey Brian Arnold
Remove un
u
sed fields (sect_addrs and num_sect_addr
s
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey Brian Arn
o
l
d
Al
w
ays f
i
nd
t
h
e
ksplice_pa
t
ch oldaddr
using
a
nameva
l
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Jeff
r
e
y
Brian Arnol
d
Improve KSPLICE_IP and KSPLIC
E
_SP to h
a
ndle old x8
6
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Ti
m
Abbott
Flush the instructio
n
cache a
f
ter i
n
stalling/removing
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers Kase
o
rg
Cor
r
ect definitio
n
of ksplice_kc
a
l
l
oc()
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbot
t
R
em
o
ve potenti
a
l memory
le
a
k
i
n
ac
c
um
u
late_matching_nam
e
s
.
commit
|
commitdiff
|
tree
2008-09-12
And
e
r
s K
a
seor
g
Replace ksp
l
ice_mod_fi
n
d_sym with module_on_each_symbol
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Merg
e
t
h
e two different other_module_lookup functions
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbo
t
t
Add d
e
p
endencies of
k
splice modul
e
s on modules the
y
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
R
e
place pa
c
k->helper with passin
g
a paramete
r
pre
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Protect accesses to
the list
o
f
all modules
w
i
t
h modul
e
_
m
utex
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Tim Abb
o
tt
Replace THIS
_
MODU
L
E with pack->primary as pro
c
file
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
T
i
m Abbott
R
eplace
TH
I
S_M
O
DULE
w
ith
a pointer to the primary in
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
R
epl
a
ce THIS_MODULE->list wi
t
h the
m
odule
s
lis
t
_he
a
d
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs Ka
s
eorg
Don'
t
write a re
v
erse trampoline;
t
he
c
o
d
e is abo
u
t
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers Kaseorg
F
i
x v
i
r
t
ual_address_mapp
e
d() to sup
p
ort large pag
e
s
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Ka
s
e
o
rg
Remove @SED@ v
a
riable (a
u
t
oconf 2
.
5
9
l
a
cks
A
C_PR
O
G
_
S
ED)
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kas
e
org
Get
rid of unused $kid vari
a
b
l
e
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
nders Kaseo
r
g
Resp
e
c
t
the s
e
ction
alignment
instead of hard-coding
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Replace deprecated EXTRA_CFLAGS with CFLAGS_$@
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers Kaseo
r
g
Re
p
lace NULL terminator in special_s
e
ctions[]
wi
t
h
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Ka
s
eo
r
g
F
ix
j
umpl
e
n
inde
n
tation
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
An
d
e
rs Kaseo
r
g
Fix various o
f
f-by-one compar
i
son bugs
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders
Kaseorg
R
e
move t
h
e
u
nneeded c3,
5
b
hac
k
fo
r
detect
i
n
g end of
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Jeffre
y
Brian
Arnold
M
a
ke
bootstrapped onl
y
e
xist when KS
P
LICE_S
T
ANDALONE
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseor
g
Build ksplice module in
p
a
r
allel
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Jeff
r
ey Bri
a
n Arnold
M
ake it possible to remove
KS
P
L
I
CE_STAN
D
ALONE u
s
i
n
g
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Do not
us
e
a
s
s
ignment in
if
condi
t
ion
in
r
un_
p
re_c
m
p
.
commit
|
commitdiff
|
tree
2008-09-12
Tim
A
bbott
Make
failed_to_find
n
ot go beyond 80 c
h
aracters
.
commit
|
commitdiff
|
tree
2008-09-12
Ti
m
Ab
b
o
tt
Use
spacing a
f
ter co
m
m
a
s
in KS
P
LICE_
U
NI
Q
macros
.
commit
|
commitdiff
|
tree
2008-09-12
T
i
m Abbott
Remove unn
e
ces
s
a
r
y pa
r
en
t
heses in retu
r
n fr
o
m ends_with
.
commit
|
commitdiff
|
tree
2008-09-12
Ti
m
Abbott
Use lin
u
x/
u
acce
s
s
.
h
,
not asm
/
uaccess
.
h except in
KSPLICE_STA
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
J
e
ff
r
e
y Br
i
an Arnold
Add explanatio
n
of
m
ap_prin
t
k check
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Do not
u
se
assignmen
t
in if cond
i
tion
.
commit
|
commitdiff
|
tree
2008-09-12
Anders
Kaseorg
Rep
l
ace th
e
last rsy
n
c
with
c
p
, getting
rid of
t
he
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey Brian Arnold
Remove CONFIG_KA
L
LSYMS_VAL and
ref
o
rmat code involving
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
T
im Abbo
t
t
Use ksplice_debug functio
n
f
or most
d
e
b
ugg
i
ng output
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Tim Ab
b
o
tt
Cle
a
n up pri
n
ting
code in check_ta
s
k and
c
he
c
k_
s
t
a
c
k
.
commit
|
commitdiff
|
tree
2008-09-12
T
i
m
Ab
b
ott
Use the kerne
l
's max macro
.
commit
|
commitdiff
|
tree
2008-09-12
Ti
m
A
b
bott
Move pr
i
ntk
s
ta
t
ements out of __reverse_patches
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Ad
d
severity levels to pr
i
n
tk calls
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Add
e
rror che
c
ki
n
g t
o
kmalloc
c
alls
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Ab
b
ott
Use error codes
in stop_m
a
chine_run code
.
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers Ka
s
e
or
g
Remov
e
u
s
eless b
r
aces
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Rena
m
e safe to boot
s
trapped
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Rename
flag
s
to pcrel since it
i
s the only f
l
ag
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbo
t
t
Remove now-unn
e
cessary SAFE flag
.
commit
|
commitdiff
|
tree
2008-09-12
Tim A
b
b
ott
Remove unnecessa
r
y local
vari
a
b
l
e addr in
c
heck_task
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Ab
b
ott
Avoi
d
schedul
i
ng a timeout
whe
n
we
succee
d
i
n
pa
t
c
hing
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Remove unnecessary proc entry r
e
moval when crea
t
ion
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Re
m
ove unn
e
ce
s
sary h
a
ve_ad
d
ed_val from compute
_
addres
s
.
commit
|
commitdiff
|
tree
2008-09-12
Tim
A
bbott
Use list_f
o
r_each_entry rather than lis
t
_
f
o
r_e
a
ch
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey B
r
i
a
n
Arnold
Do helper
s
e
a
rch_for_match process in one stage
.
commit
|
commitdiff
|
tree
2008-09-12
J
e
ffrey Brian
A
rnold
S
tar
t
work on integrat
e
d K
s
pli
c
e (!K
S
PLICE_STANDA
L
ONE)
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey Brian Arno
l
d
Make
s
afe and debug
s
tatic
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey Brian
Arnold
Move
d
e
finition of virtual_address_mapped
t
oward the
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey
B
rian Arnold
Swap
d
efinitions
o
f
s
truct
kspl
i
ce_
s
ize and
s
truct
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
J
e
f
fr
e
y Brian Arnold
M
o
ve forme
r
all
c
o
mmon
.
h pro
t
otypes
.
commit
|
commitdiff
|
tree
2008-09-12
J
effrey Brian Arnold
M
ove find_nam
e
v
a
l an
d
fi
n
d_addrmap p
r
ototypes
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey Br
i
an A
r
n
ol
d
Move
h
an
d
le_myst_reloc prototy
p
e
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey
B
ria
n
Arnold
Move va
r
i
a
bles toward the top of ksp
l
ice
.
c
.
commit
|
commitdiff
|
tree
2008-09-12
And
e
r
s
K
a
seorg
acti
v
ate_primary no lo
n
ger
n
eeds to be in module_
p
a
ck
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s K
a
seorg
M
ake the helper call the prim
a
ry, so it
doesn't nee
d
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey Bri
a
n Arno
l
d
Unify k
s
plice mod
u
le source into
o
ne C f
i
le
.
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers K
a
seorg
Mov
e
modul
e
init
and
c
leanup into separate
f
unctions
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Jef
f
re
y
Bri
a
n Arnold
Move ksplice_
r
eloc f
l
a
g
s bits
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffr
e
y Bria
n
Ar
n
o
ld
ker
n
el_lookup requi
r
es CONFIG_KA
L
L
S
YMS
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey Brian Ar
n
o
ld
Make
run_pre_cmp
,
m
a
tch_nop, and ju
m
plen static
.
commit
|
commitdiff
|
tree
2008-09-12
J
eff
r
e
y
Brian Arnold
Make CONFIG_KALLSYMS_VAL a
macro
.
commit
|
commitdiff
|
tree
2008-09-12
Ander
s
K
aseorg
Formattin
g
fixes
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
n
ders Kaseorg
Add activate_primar
y
to modul
e
_pack
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey
Bria
n
Arnold
Mo
v
e g
l
obal v
a
riables into stru
c
t
m
odule_pack
.
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s
Kaseorg
Mov
e
garbage col
l
ecti
o
n
f
rom hel
p
er's cleanup_module
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Change process_kspl
i
ce_relocs to a
c
cept relocs
as a
n
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Jeff
r
ey
Br
i
an Arn
o
ld
A
dd #endif
comments
.
commit
|
commitdiff
|
tree
2008-09-12
A
n
d
ers Kaseor
g
Remove
un
u
sed
va
r
iabl
e
s
pos, n from __
r
everse_pa
t
ch
e
s
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Remo
v
e u
n
used
f
unction only_label
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey Brian
A
rnold
Cha
n
ge starts_with and ends_with to functions
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey
B
rian Arno
l
d
De
f
ine kcalloc()
as a macro
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey
B
ri
a
n Arnold
Don't both
e
r tes
t
ing
K
SPLICE_APP
L
IED in check_ad
d
ress_for_co
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
R
emove un
n
eces
s
ary test of sa
f
e
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Jeff
r
ey Brian
A
rnold
Rename kspli
c
e_do
_
{primary,
h
elper} to a
c
t
i
vate
_
{pr
i
mary
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s Kaseorg
Remove depende
n
ce on kmodsrc from usersp
a
c
e
tools
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey B
r
i
a
n
A
r
nold
Rename
ksplic
e
_on_each_task
to che
c
k_ea
c
h_task, removing
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Ab
b
ott
Only co
m
pute adjustment once for each reloc
.
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s Kaseorg
Add a dummy rul
e
for building linker scripts
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Sup
p
ort sk
i
pping
the prebuil
d
compile
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Su
p
port
m
ultip
l
e
kspl
i
ce modules in ksplice-create
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers Kaseorg
Support mult
i
ple ksplice
mo
d
u
les i
n
ksp
l
ice-apply
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s K
a
seorg
New
b
u
i
l
d system that
integr
a
tes wi
t
h ke
r
nel makefile
s
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-06-21
Jeffrey Bria
n
Arnol
d
Ksplic
e
0
.
8
.
7
commit
|
commitdiff
|
tree
2008-06-21
Anders Kaseorg
Incl
u
de 64-b
i
t n
o
-op patte
r
ns from binuti
l
s 2
.
17
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-06-21
HI
R
A
NO Takahit
o
Updat
e
the nop t
a
ble for binutils 2
.
18
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
next