 This phase III trial studies the side effects and best dose of flavopiridol in treating patients with previously treated chronic lymphocytic leukemia or lymphocytic lymphoma. Drugs used in chemotherapy such as flavopiridol work in different ways to stop cancer cells from dividing so they stop growing or die. 