~drizzle-trunk/drizzle/development

[patch 045/129] Merge patch for revision 1833 from InnoDB SVN:
revno: 1833
revision-id: svn-v4:16c675df-0fcb-4bc9-8058-dcc011a37293:branches/zip:5825
parent: svn-v4:16c675df-0fcb-4bc9-8058-dcc011a37293:branches/zip:5822
committer: marko
timestamp: Thu 2009-09-10 09:47:09 +0000
message:
  branches/zip: Reduce mutex contention that was introduced when
  addressing Bug #45015 (Issue #316), in r5703.
  
  buf_page_set_accessed_make_young(): New auxiliary function, called by
  buf_page_get_zip(), buf_page_get_gen(),
  buf_page_optimistic_get_func(). Call ut_time_ms() outside of
  buf_pool_mutex. Use cached access_time.
  
  buf_page_set_accessed(): Add the parameter time_ms, so that
  ut_time_ms() need not be called while holding buf_pool_mutex.
  
  buf_page_optimistic_get_func(), buf_page_get_known_nowait(): Read
  buf_page_t::access_time without holding buf_pool_mutex. This should be
  OK, because the field is only used for heuristic purposes.
  
  buf_page_peek_if_too_old(): If buf_pool->freed_page_clock == 0, return
  FALSE, so that we will not waste time moving blocks in the LRU list in
  the warm-up phase or when the workload fits in the buffer pool.
  
  rb://156 approved by Sunny Bains
modified:
  buf/buf0buf.c                  2@16c675df-0fcb-4bc9-8058-dcc011a37293:trunk%2Fbuf%2Fbuf0buf.c
  include/buf0buf.h              2@16c675df-0fcb-4bc9-8058-dcc011a37293:trunk%2Finclude%2Fbuf0buf.h
  include/buf0buf.ic             2@16c675df-0fcb-4bc9-8058-dcc011a37293:trunk%2Finclude%2Fbuf0buf.ic
diff:
=== modified file 'buf/buf0buf.c'
Filename Latest Rev Last Changed Committer Comment Size
..
client 1 16 years ago brian clean slate Diff
config 1 16 years ago brian clean slate Diff
docs 1712.1.1 14 years ago Monty Taylor Merged libdrizzle directly into tree. Diff
drizzled 214 16 years ago Brian Aker Rename of fields (fix issue with string and decima Diff
examples 1712.1.1 14 years ago Monty Taylor Merged libdrizzle directly into tree. Diff
extra 1022.2.34 15 years ago Monty Taylor Merged Monty from lp:~mordred/drizzle/kill-malloc Diff
libdrizzle 1712.1.1 14 years ago Monty Taylor Merged libdrizzle directly into tree. Diff
m4 202.3.14 16 years ago Monty Taylor Moved m4 macros to top-level m4 dir, per GNU stand Diff
plugin 1 16 years ago brian clean slate Diff
po 202.3.1 16 years ago Monty Taylor Added very initial gettextize stuff. Diff
support-files 1 16 years ago brian clean slate Diff
tests 77.1.47 16 years ago Monty Taylor Moved test to tests... Diff
unittests 1377.8.1 14 years ago pawel primitive integration of the testing framework wit Diff
win32 1712.1.1 14 years ago Monty Taylor Merged libdrizzle directly into tree. Diff
.bzrignore 1816.2.5 14 years ago Monty Taylor Added a missing file to .bzrignore. 6.2 KB Diff Download File
.quickly 1776.2.1 14 years ago Monty Taylor Updated pandora-build files to version 0.155 111 bytes Diff Download File
AUTHORS 1546 14 years ago Brian Aker Merge of Joe's patch (and I updated the author fil 387 bytes Diff Download File
configure.ac 1730.6.19 14 years ago Hartmut Holzgraefe merge from upstream, conflict in .bzrignore resolv 6.6 KB Diff Download File
COPYING 1802.10.1 14 years ago Monty Taylor Update COPYING file to have current FSF address in 17.5 KB Diff Download File
COPYING.Boost 1815.1.1 14 years ago Monty Taylor Embed a modified version of parse_config_file. The 1.3 KB Diff Download File
COPYING.BSD 1799.2.2 14 years ago Monty Taylor Added BSD copying file. 1.3 KB Diff Download File
DRIZZLE.FAQ 665.1.4 15 years ago Eric Herman Added pointer to online version of the FAQ 5.8 KB Diff Download File
EXCEPTIONS-CLIENT 1 16 years ago brian clean slate 5 KB Diff Download File
Makefile.am 1815.1.1 14 years ago Monty Taylor Embed a modified version of parse_config_file. The 5.1 KB Diff Download File
NEWS 194 16 years ago Brian Aker Documentation cleanup 41 bytes Diff Download File
README 992.1.3 15 years ago Monty Taylor Clarified instructions in README. 821 bytes Diff Download File