repo.or.cz
/
hed.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
swp_shrink: Try to reallocate big chunks
2011-09-26
Petr Tesarik
s
w
p_shr
i
nk
:
T
r
y
to reallocate b
i
g chunks
commit
|
commitdiff
|
tree
2011-09-26
Petr Tesa
r
ik
S
eparate out t
h
e w
o
rkhorses
f
rom swp_malloc an
d
swp_free
commit
|
commitdiff
|
tree
2011-09-26
Petr T
e
sar
i
k
Fix war
n
ing abou
t
ignoring retu
r
n value of r
e
alloc
commit
|
commitdiff
|
tree
2011-09-26
Petr T
e
sarik
Do not mar
k
mmap version of setsiz
e
and pa
g
e_alloc
.
.
.
commit
|
commitdiff
|
tree
2011-09-26
Petr Tesarik
Re
n
ame
the c
u
rren
t
sw
a
p file to the normal swap file
.
.
.
commit
|
commitdiff
|
tree
2011-09-26
Pet
r
T
esa
r
ik
Check o
n
ly size a
n
d
mtime
o
n read_swap
commit
|
commitdiff
|
tree
2011-09-26
Petr Te
s
a
rik
Add
C
ONF
I
G
_
SWAP
_
MMAP
commit
|
commitdiff
|
tree
2011-09-26
Petr Tes
a
rik
swap: Pro
v
ide swp_pa
g
e_{re
a
d
,write}
commit
|
commitdiff
|
tree
2011-09-26
Petr
T
esarik
fix swp_is
r
eadon
l
y
commit
|
commitdiff
|
tree
2011-09-26
P
e
t
r Tesarik
swap: set
size af
t
er open
commit
|
commitdiff
|
tree
2011-09-26
Petr Tesari
k
swap: add
S
WP_PAGE_
I
NVAL
I
D
commit
|
commitdiff
|
tree
2011-09-26
Petr Tesarik
cleanup:
Move read
a
h
ead field
in struc
t
file
commit
|
commitdiff
|
tree
2011-09-26
Petr Tesarik
A
d
d CONFIG_S
W
AP
commit
|
commitdiff
|
tree
2011-09-26
Petr Tes
a
rik
Mov
e
sw
p
file
i
n
it/release to separate functions
commit
|
commitdiff
|
tree
2011-09-26
P
etr Tesarik
Introduce file_swp
t
o ac
c
ess the
swp file object
commit
|
commitdiff
|
tree
2011-09-26
Petr Tesarik
prepare_modif
y
: Always
c
re
a
t
e
overlay blocks
commit
|
commitdiff
|
tree
2011-09-26
Petr Tes
a
rik
p
r
epare
_
modify: Grab a
r
eference on a reused fil
e
_da
t
a
.
.
.
commit
|
commitdiff
|
tree
2011-09-26
Petr
T
e
sari
k
cleaunp: Conv
e
rt visual ma
r
k to
a
b
lockoff_t
commit
|
commitdiff
|
tree
2011-09-26
Petr Tesarik
cleanup: cal
l
s
et_cursor(
0
) for cm
d
_f
i
l
e
_begin
commit
|
commitdiff
|
tree
2011-09-26
Petr Tesarik
Introduce is_inside_visual()
commit
|
commitdiff
|
tree
2011-09-26
Petr Tesarik
c
l
eanup: Alway
s
increa
s
e eof block
'
s
s
i
z
e on erase
commit
|
commitdiff
|
tree
2011-09-25
P
etr Tesarik
Change file_set_{block,bytes} t
o
move the blockoff
commit
|
commitdiff
|
tree
2011-09-25
P
e
tr
T
esari
k
cle
a
nup: Kill b
l
ock_by
t
edirty and file_d
a
ta_is_
b
ytedirty
commit
|
commitdiff
|
tree
2011-09-24
P
e
tr
Tesarik
c
leanup: Kil
l
block_{se
t
,clear}_bytedirty
commit
|
commitdiff
|
tree
2011-09-24
Petr Tesarik
cleanu
p
:
Ki
l
l file_data
_
{s
e
t
,clea
r
}_bytedirty
commit
|
commitdiff
|
tree
2011-09-24
Petr Tes
a
rik
c
le
a
nu
p
:
Kill fil
e
_da
t
a
_
b
ytedirty
commit
|
commitdiff
|
tree
2011-09-24
Petr
T
esarik
cleanup: Kill FDF_CLONED
commit
|
commitdiff
|
tree
2011-09-24
Petr Te
s
arik
cleanup: Kill file_cache_de
t
ach
commit
|
commitdiff
|
tree
2011-09-24
Pet
r
Tesarik
cleanu
p
: Kill make_block_
d
irty
commit
|
commitdiff
|
tree
2011-09-24
Petr Tesarik
Use dirty
o
verlays
for
rep
l
aceme
n
t
s
commit
|
commitdiff
|
tree
2011-09-24
Petr Tesar
i
k
Generalize dev
i
rtu
a
lize_chunk
t
o r
e
pl
a
ce_chu
n
k
commit
|
commitdiff
|
tree
2011-09-24
Petr
T
esar
i
k
shrink_at_xxx: remove the limitation to
v
irtual blocks
commit
|
commitdiff
|
tree
2011-09-24
Petr Tesarik
Generalize s
e
arch_loaded_data
commit
|
commitdiff
|
tree
2011-09-24
Petr T
e
sar
i
k
clean
u
p: re
n
ame
e
nla
r
ge_at_xx
x
to
s
hrink_at_xxx
commit
|
commitdiff
|
tree
2011-09-24
P
etr Tesarik
optimi
z
e
s
earch_load
e
d_d
a
ta
(
ig
n
o
re b
l
ock
s
ize)
commit
|
commitdiff
|
tree
2011-09-24
Petr Tes
a
rik
Fix uninitialized v
a
lues
in
the fil
e
object
commit
|
commitdiff
|
tree
2011-09-24
Petr Tesarik
Use swp_zalloc wh
e
re cal
l
oc was use
d
o
r
ig
i
n
ally
commit
|
commitdiff
|
tree
2011-09-24
Petr Tesarik
Add
zero
-
initialized swa
p
allocation: swp_zalloc
commit
|
commitdiff
|
tree
2011-09-24
Petr T
e
s
a
rik
Fix
s
earch for loa
d
ed data
commit
|
commitdiff
|
tree
2011-09-23
Petr Tesarik
swp_init_
r
e
ad: fi
x
e
r
ror ha
n
d
ling for read_header(
)
commit
|
commitdiff
|
tree
2011-09-23
Petr Tesa
r
i
k
Fix erase a
t
end of insert block
aga
i
n
commit
|
commitdiff
|
tree
2011-09-23
Petr
T
es
a
rik
clea
n
up
:
provide a m
e
rgefn in do_r
e
a
d
_
s
w
a
p()
commit
|
commitdiff
|
tree
2011-09-23
Petr Tesarik
file_dat
a
_sh
r
i
nk: add a f
o
rgot
t
en update to data->size
commit
|
commitdiff
|
tree
2011-09-23
Petr Tesarik
Change the ow
n
e
rship
of the swap ob
j
ect
commit
|
commitdiff
|
tree
2011-09-23
Petr
T
esarik
Remove
t
he fance return
c
o
des for s
w
p
_
init_
r
ead
commit
|
commitdiff
|
tree
2011-09-23
P
e
tr Tesar
i
k
Fix freeing
of m
a
pping pages
commit
|
commitdiff
|
tree
2011-09-23
Petr T
e
sarik
c
l
eanup: mo
v
e M
A
RKS_COUNT back to file
.
h
commit
|
commitdiff
|
tree
2011-09-23
Petr Tesarik
M
ake
f
ile_writ
e
_
s
w
ap an inline f
u
nction
commit
|
commitdiff
|
tree
2011-09-23
Petr Tesa
r
ik
clean
u
p: Do not d
e
-
a
lloca
t
e fi
l
e
blocks in file_done
commit
|
commitdiff
|
tree
2011-09-23
Petr Tesarik
Introduce file_insert_o
n
ce
commit
|
commitdiff
|
tree
2011-09-23
Petr Tesarik
c
l
e
a
nup
:
Compile blo
c
k_phys_
s
ize only if BLOCKS
_
DEBUG
.
.
.
commit
|
commitdiff
|
tree
2011-09-23
Petr T
e
sarik
R
e
move
s
truct file_
s
wp
_
header
commit
|
commitdiff
|
tree
2011-09-23
Petr Tesarik
Embed file_swp_he
a
der i
n
st
r
uct file
commit
|
commitdiff
|
tree
2011-09-23
Petr Tesari
k
Move
m
odified back into struct file
commit
|
commitdiff
|
tree
2011-09-23
Pe
t
r T
e
sarik
Move file size ba
c
k into struct
f
ile
commit
|
commitdiff
|
tree
2011-09-23
Pet
r
Te
s
arik
do_read_sw
a
p: modify
t
he current t
r
ee
instead of
r
eplaci
n
g it
commit
|
commitdiff
|
tree
2011-09-23
Petr
T
esarik
Re
m
ove file_setup_b
l
ocks() from
the A
P
I
commit
|
commitdiff
|
tree
2011-09-23
P
et
r
Tesarik
cle
a
nup: re
n
a
me swap init functio
n
s
commit
|
commitdiff
|
tree
2011-09-23
P
etr Tesarik
Switch to
the
new swap file bac
k
end
commit
|
commitdiff
|
tree
2011-09-23
P
e
tr
Tesa
r
ik
Allocate file_bl
o
ck objects from the sw
a
p file
commit
|
commitdiff
|
tree
2011-09-23
Petr T
e
sarik
A
dd s
w
ap
f
i
le su
p
port
t
o file cache
commit
|
commitdiff
|
tree
2011-09-23
Petr
Tesarik
Initialize the
s
wap f
i
le
i
nfrast
r
u
c
t
ure fro
m
file_init
commit
|
commitdiff
|
tree
2011-09-23
Pe
t
r Tesarik
Add
n
e
w swa
p
file implement
a
tion
commit
|
commitdiff
|
tree
2011-09-23
Petr
T
esarik
Us
e
an alternate
s
w
a
p
f
ile name if the default exi
s
ts
.
.
.
commit
|
commitdiff
|
tree
2011-09-23
Petr
T
esari
k
cle
a
nup: make a fa
i
l path in file_init()
commit
|
commitdiff
|
tree
2011-09-23
Petr Tesari
k
I
nt
r
oduce file_blocks()
commit
|
commitdiff
|
tree
2011-09-22
Petr Tesarik
cleanup
:
r
emove is_chained_block
commit
|
commitdiff
|
tree
2011-09-22
Pet
r
T
esarik
Introd
u
ce file_swp to
a
c
cess the private swap hea
d
e
r
commit
|
commitdiff
|
tree
2011-09-22
Pe
t
r
T
esa
r
ik
file_swp/file_unswp -> file_wri
t
e
_swap/file_read_swap
commit
|
commitdiff
|
tree
2011-09-22
Petr Te
s
arik
Use file_size
(
) for read acc
e
ss
commit
|
commitdiff
|
tree
2011-09-22
Pet
r
Tesarik
Factor out fil
e
stat
s
tr
u
ctu
r
e placement
commit
|
commitdiff
|
tree
2011-09-22
Petr Tesari
k
Rename file
_
data_reall
o
c to
f
i
l
e_data_s
h
rink
commit
|
commitdiff
|
tree
2011-09-22
Petr Tesa
r
ik
c
leanup:
Kill FILE_ALLOC_INC
commit
|
commitdiff
|
tree
2011-09-22
Petr Tesari
k
p
repare_
m
odify:
limit allocations
t
o
F
ILE
_
BLOCK_SIZE
commit
|
commitdiff
|
tree
2011-09-22
Pet
r
Te
s
a
r
ik
p
r
epare
_
m
odif
y
: allow less t
h
an
@
len bytes to
be dev
i
r
tuali
z
e
d
commit
|
commitdiff
|
tree
2011-09-22
Petr Tes
a
rik
c
l
eanup
:
handle non-virt
u
al bloc
k
s in prepare_modify
commit
|
commitdiff
|
tree
2011-09-22
Petr Tesarik
c
l
eanup: combine prepa
r
e_modify with
devi
r
tua
l
iz
e
_dirt
y
commit
|
commitdiff
|
tree
2011-09-21
Petr Tesarik
cleanup: insert_bl
o
ck cannot fa
i
l
commit
|
commitdiff
|
tree
2011-09-21
Petr Tesarik
Ensu
r
e
t
hat no insert bl
o
ck
can gro
w
bey
o
nd FILE_BLOC
K
_SIZE
commit
|
commitdiff
|
tree
2011-09-13
Petr Tesarik
Move phys_siz
e
out of
the swa
p
header
commit
|
commitdiff
|
tree
2011-09-13
Petr Tesarik
C
leanup the file
s
wa
p
A
P
I
commit
|
commitdiff
|
tree
2011-09-13
Petr
Tesari
k
cleanup: r
e
mo
v
e fi
l
e_basic_done
commit
|
commitdiff
|
tree
2011-09-13
Petr Tesarik
Mov
e
the swap file st
r
uctur
e
s into stru
c
t fil
e
commit
|
commitdiff
|
tree
2011-09-13
Pe
t
r Tesarik
N
ew sw
a
p fil
e
layout
commit
|
commitdiff
|
tree
2011-09-13
Petr T
e
sari
k
co
m
m
i
t
_
partial: fix writing of the byte at OFF
_
MAX
commit
|
commitdiff
|
tree
2011-09-13
Petr T
e
sa
r
i
k
f
ile_com
m
it:
h
and
l
e writes at OFF_MAX
commit
|
commitdiff
|
tree
2011-09-13
Petr Tes
a
rik
Always
k
ee
p
the fi
n
al
EOF block
commit
|
commitdiff
|
tree
2011-09-13
Petr Tesar
i
k
block
_
phys_size: account physical size
b
eyond EOF
commit
|
commitdiff
|
tree
2011-09-13
Petr Tesarik
ad
d
a '!
'
mark after MAX_OFF
commit
|
commitdiff
|
tree
2011-09-13
Petr Tesarik
fileview: d
e
tect position beyond OFF_MAX in the
i
nner
.
.
.
commit
|
commitdiff
|
tree
2011-09-13
P
e
t
r Tesarik
fileshow: clear everything first
commit
|
commitdiff
|
tree
2011-09-13
Petr
Tesari
k
Fix spl
i
t
ting of very large bl
o
c
ks
commit
|
commitdiff
|
tree
2011-09-13
Pet
r
Tesar
i
k
Print inserti
o
n/d
e
letio
n
m
a
rks in bright colours
commit
|
commitdiff
|
tree
2011-09-12
Petr Tesar
i
k
print_sta
t
us_num: convert
t
o use bytestr2off
commit
|
commitdiff
|
tree
2011-09-12
Petr Tesarik
In
t
rodu
c
e end
i
an
i
ty AE
F
_xxx fla
g
s
commit
|
commitdiff
|
tree
2011-09-12
Petr Tesarik
Introduce AEF_SI
G
NE
D
commit
|
commitdiff
|
tree
2011-09-08
Petr Tesar
i
k
Use ter
m
_prin
t
f where appropriate
commit
|
commitdiff
|
tree
2011-09-08
Pet
r
Te
s
arik
P
rovid
e
a term_pr
i
ntf function
commit
|
commitdiff
|
tree
2011-09-08
Petr Tesarik
cleanup
:
remove unnecessary static variables
commit
|
commitdiff
|
tree
2011-09-08
Petr Tesa
r
ik
Fi
l
l the bac
k
g
r
ound
w
i
th co
r
rect col
o
urs in the fi
l
e
.
.
.
commit
|
commitdiff
|
tree
next